Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.4838/0.4838, allocations: 111.6 MB / 131.7 MB, free: 5.066 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 176.5 MB, free: 9.422 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.408e-05, allocations: 2.312 kB / 176.5 MB, free: 9.418 MB / 170.7 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9): time 1.106/1.106, allocations: 257 MB / 433.6 MB, free: 364 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02622/1.133, allocations: 29.89 MB / 463.5 MB, free: 2.352 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/1.133, allocations: 4 kB / 463.5 MB, free: 2.348 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:64:3-65:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:66:3-67:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:70:3-71:99:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourcePQ.mo:16:3-17:78:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/Sink.mo:10:3-11:80:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/ElectroMechanics/BoundaryConditions/SourceMechanicalPower.mo:5:3-6:99:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003485/1.133, allocations: 111.2 kB / 463.6 MB, free: 2.238 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002016/1.133, allocations: 117.1 kB / 463.7 MB, free: 2.121 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:525:9-525:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:708:9-708:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01632/1.15, allocations: 8.669 MB / 472.3 MB, free: 9.422 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004827/1.15, allocations: 434.2 kB / 472.8 MB, free: 8.996 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/1.15, allocations: 164.9 kB / 472.9 MB, free: 8.832 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003132/1.151, allocations: 263.3 kB / 473.2 MB, free: 8.574 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/1.151, allocations: 127.6 kB / 473.3 MB, free: 8.449 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.786e-05/1.151, allocations: 28 kB / 473.3 MB, free: 8.422 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1924/1.343, allocations: 14.28 MB / 487.6 MB, free: 10.46 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000192/1.344, allocations: 188.1 kB / 487.8 MB, free: 10.46 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001823/1.344, allocations: 150.9 kB / 488 MB, free: 10.46 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01399/1.358, allocations: 9.865 MB / 497.8 MB, free: 10.17 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.358, allocations: 4.188 kB / 497.8 MB, free: 10.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.493e-06/1.358, allocations: 0 / 497.8 MB, free: 10.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/1.358, allocations: 1 kB / 497.8 MB, free: 10.17 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.003966/1.362, allocations: 1.898 MB / 499.7 MB, free: 9.004 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/1.362, allocations: 14.2 kB / 499.7 MB, free: 9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/1.362, allocations: 120.1 kB / 499.9 MB, free: 8.949 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/1.362, allocations: 374.1 kB / 0.4885 GB, free: 8.691 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/1.362, allocations: 25.44 kB / 0.4885 GB, free: 8.691 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/1.362, allocations: 28.41 kB / 0.4885 GB, free: 8.691 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/1.363, allocations: 0.5051 MB / 0.489 GB, free: 8.508 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/1.363, allocations: 3.906 kB / 0.489 GB, free: 8.508 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/1.363, allocations: 13.31 kB / 0.4891 GB, free: 8.508 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/1.363, allocations: 11.67 kB / 0.4891 GB, free: 8.508 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003621/1.363, allocations: 450.4 kB / 0.4895 GB, free: 8.508 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/1.364, allocations: 2.441 MB / 0.4919 GB, free: 6.883 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000617/1.365, allocations: 0.6483 MB / 0.4925 GB, free: 6.746 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/1.365, allocations: 211.6 kB / 0.4927 GB, free: 6.699 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03781/1.403, allocations: 22.69 MB / 0.5149 GB, free: 5.984 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/1.403, allocations: 37.28 kB / 0.5149 GB, free: 5.941 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 2.445e-06/1.403, allocations: 4 kB / 0.5149 GB, free: 5.938 MB / 442.7 MB Notification: Performance of matching and sorting (n=37): time 0.002684/1.406, allocations: 1.496 MB / 0.5164 GB, free: 4.441 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/1.406, allocations: 56.34 kB / 0.5164 GB, free: 4.375 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005273/1.406, allocations: 0.683 MB / 0.5171 GB, free: 3.676 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/1.406, allocations: 32.8 kB / 0.5171 GB, free: 3.641 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/1.406, allocations: 411.6 kB / 0.5175 GB, free: 3.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.548e-05/1.406, allocations: 133.9 kB / 0.5176 GB, free: 3.102 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.977e-05/1.407, allocations: 75.3 kB / 0.5177 GB, free: 3.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/1.407, allocations: 496.4 kB / 0.5182 GB, free: 2.527 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/1.407, allocations: 195.9 kB / 0.5184 GB, free: 2.336 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/1.407, allocations: 262 kB / 0.5186 GB, free: 2.055 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/1.407, allocations: 469.4 kB / 0.5191 GB, free: 1.578 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/1.407, allocations: 3.938 kB / 0.5191 GB, free: 1.574 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006501/1.408, allocations: 0.7844 MB / 0.5198 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.408, allocations: 7.281 kB / 0.5199 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/1.408, allocations: 4 kB / 0.5199 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002429/1.41, allocations: 0.9291 MB / 0.5208 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.581e-05/1.411, allocations: 19.73 kB / 0.5208 GB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/1.412, allocations: 1.886 MB / 0.5226 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/1.412, allocations: 35.77 kB / 0.5227 GB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/1.412, allocations: 12 kB / 0.5227 GB, free: 13.87 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (sink.C.a,sourcePQ.C.b,centrifugalPump.C2.b,centrifugalPump.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001276/1.412, allocations: 168.4 kB / 0.5228 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/1.412, allocations: 87.48 kB / 0.5229 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009835/1.413, allocations: 0.8913 MB / 0.5238 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006742/1.414, allocations: 0.7493 MB / 0.5245 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.414, allocations: 4.562 kB / 0.5245 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/1.414, allocations: 3.984 kB / 0.5245 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/1.415, allocations: 1.812 MB / 0.5263 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.415, allocations: 0.9375 kB / 0.5263 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.359e-05/1.415, allocations: 16 kB / 0.5263 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001231/1.417, allocations: 0.6639 MB / 0.527 GB, free: 9.434 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/1.417, allocations: 11.98 kB / 0.527 GB, free: 9.422 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/1.418, allocations: 1.892 MB / 0.5288 GB, free: 7.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.418, allocations: 0 / 0.5288 GB, free: 7.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/1.419, allocations: 1.017 MB / 0.5298 GB, free: 6.469 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/1.419, allocations: 99.89 kB / 0.5299 GB, free: 6.371 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/1.419, allocations: 7.938 kB / 0.5299 GB, free: 6.363 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.883e-05/1.419, allocations: 11.94 kB / 0.5299 GB, free: 6.352 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/1.419, allocations: 23.95 kB / 0.5299 GB, free: 6.328 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/1.419, allocations: 19.8 kB / 0.53 GB, free: 6.312 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002768/1.419, allocations: 423 kB / 0.5304 GB, free: 5.906 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/1.419, allocations: 0 / 0.5304 GB, free: 5.906 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00286/1.422, allocations: 1.157 MB / 0.5315 GB, free: 4.746 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003821/1.426, allocations: 1.774 MB / 0.5332 GB, free: 3.191 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007502/1.427, allocations: 0.592 MB / 0.5338 GB, free: 2.594 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.427, allocations: 320 / 0.5338 GB, free: 2.594 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00037/1.427, allocations: 359.3 kB / 0.5342 GB, free: 2.242 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/1.428, allocations: 93.16 kB / 0.5342 GB, free: 2.156 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/1.429, allocations: 1.379 MB / 0.5356 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/1.43, allocations: 188.8 kB / 0.5358 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.086e-05/1.43, allocations: 15.52 kB / 0.5358 GB, free: 0.543 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/1.43, allocations: 16.5 kB / 0.5358 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of SimCode: time 1.032e-06/1.43, allocations: 0 / 0.5358 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of Templates: time 0.03964/1.469, allocations: 41.43 MB / 0.5763 GB, free: 7.336 MB / 0.4948 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.029314826941118]