Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.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.4777/0.4777, allocations: 111.6 MB / 131.7 MB, free: 5.055 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.TestCentrifugalPump12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 176.5 MB, free: 9.402 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.282e-05/1.409e-05, allocations: 2.312 kB / 176.5 MB, free: 9.398 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.TestCentrifugalPump12): time 1.094/1.094, allocations: 257.1 MB / 433.6 MB, free: 15.74 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.0265/1.121, allocations: 29.89 MB / 463.5 MB, free: 1.742 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/1.121, allocations: 4 kB / 463.5 MB, free: 1.738 MB / 410.8 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/SourceTorque.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.0003507/1.121, allocations: 115.2 kB / 463.6 MB, free: 1.625 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001838/1.121, allocations: 121.1 kB / 463.7 MB, free: 1.504 MB / 410.8 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.01577/1.137, allocations: 8.685 MB / 472.4 MB, free: 8.785 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.000494/1.138, allocations: 474.1 kB / 472.9 MB, free: 8.32 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/1.138, allocations: 181.4 kB / 473.1 MB, free: 8.141 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003234/1.138, allocations: 287.2 kB / 473.3 MB, free: 7.859 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/1.138, allocations: 147.6 kB / 473.5 MB, free: 7.715 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.234e-05/1.138, allocations: 32 kB / 473.5 MB, free: 7.684 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01869/1.157, allocations: 14.3 MB / 487.8 MB, free: 9.363 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001872/1.157, allocations: 199.3 kB / 488 MB, free: 9.168 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/1.158, allocations: 159.4 kB / 488.2 MB, free: 9.012 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.1861/1.344, allocations: 9.895 MB / 498.1 MB, free: 23.12 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.344, allocations: 0 / 498.1 MB, free: 23.12 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.623e-06/1.344, allocations: 0 / 498.1 MB, free: 23.12 MB / 442.8 MB Notification: Performance of Transformations before backend: time 1.75e-05/1.344, allocations: 2.156 kB / 498.1 MB, free: 23.12 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.003935/1.348, allocations: 1.954 MB / 0.4883 GB, free: 22 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/1.348, allocations: 15.36 kB / 0.4883 GB, free: 22 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/1.348, allocations: 118.4 kB / 0.4884 GB, free: 21.95 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/1.348, allocations: 384.2 kB / 0.4888 GB, free: 21.69 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/1.348, allocations: 24.09 kB / 0.4888 GB, free: 21.69 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/1.348, allocations: 33.98 kB / 0.4889 GB, free: 21.69 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/1.349, allocations: 423.3 kB / 0.4893 GB, free: 21.57 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/1.349, allocations: 3.656 kB / 0.4893 GB, free: 21.57 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/1.349, allocations: 15.41 kB / 0.4893 GB, free: 21.57 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/1.349, allocations: 9.234 kB / 0.4893 GB, free: 21.57 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004264/1.349, allocations: 329 kB / 0.4896 GB, free: 21.57 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/1.351, allocations: 1.74 MB / 0.4913 GB, free: 20.61 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008195/1.352, allocations: 0.4895 MB / 0.4918 GB, free: 20.57 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/1.352, allocations: 150.5 kB / 0.4919 GB, free: 20.56 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03793/1.39, allocations: 22.69 MB / 0.5141 GB, free: 16.27 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/1.39, allocations: 37.39 kB / 0.5141 GB, free: 16.22 MB / 442.8 MB Notification: Performance of pre-optimization done (n=38): time 2.404e-06/1.39, allocations: 0 / 0.5141 GB, free: 16.22 MB / 442.8 MB Notification: Performance of matching and sorting (n=38): time 0.001527/1.391, allocations: 0.8144 MB / 0.5149 GB, free: 15.62 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/1.391, allocations: 56.94 kB / 0.515 GB, free: 15.56 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005424/1.392, allocations: 0.7067 MB / 0.5157 GB, free: 15.09 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/1.392, allocations: 33.33 kB / 0.5157 GB, free: 15.05 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/1.392, allocations: 431.2 kB / 0.5161 GB, free: 14.82 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/1.392, allocations: 132.4 kB / 0.5162 GB, free: 14.72 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.871e-05/1.392, allocations: 86.22 kB / 0.5163 GB, free: 14.66 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 5.527e-05/1.392, allocations: 0.49 MB / 0.5168 GB, free: 14.18 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/1.392, allocations: 131.6 kB / 0.5169 GB, free: 14.09 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/1.392, allocations: 208.9 kB / 0.5171 GB, free: 13.91 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/1.393, allocations: 346.2 kB / 0.5174 GB, free: 13.64 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.393, allocations: 4 kB / 0.5174 GB, free: 13.64 MB / 442.8 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006022/1.393, allocations: 0.6336 MB / 0.5181 GB, free: 13.16 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/1.393, allocations: 4 kB / 0.5181 GB, free: 13.16 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.393, allocations: 4.5 kB / 0.5181 GB, free: 13.15 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002288/1.396, allocations: 0.8113 MB / 0.5189 GB, free: 12.55 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/1.396, allocations: 39.67 kB / 0.5189 GB, free: 12.52 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000831/1.397, allocations: 1.442 MB / 0.5203 GB, free: 11.3 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/1.397, allocations: 43.83 kB / 0.5203 GB, free: 11.27 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/1.397, allocations: 15.31 kB / 0.5204 GB, free: 11.25 MB / 442.8 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 (sinkP.C.a,sourceP.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 (20): * Single equations (assignments): 19 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001479/1.397, allocations: 176.1 kB / 0.5205 GB, free: 11.09 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/1.397, allocations: 87.44 kB / 0.5206 GB, free: 11 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005918/1.398, allocations: 0.6027 MB / 0.5212 GB, free: 10.58 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003559/1.398, allocations: 456.7 kB / 0.5216 GB, free: 10.2 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.398, allocations: 7.938 kB / 0.5216 GB, free: 10.19 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.398, allocations: 0 / 0.5216 GB, free: 10.19 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/1.399, allocations: 1.265 MB / 0.5229 GB, free: 9.148 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.399, allocations: 4 kB / 0.5229 GB, free: 9.145 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/1.399, allocations: 62.03 kB / 0.5229 GB, free: 9.09 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008783/1.4, allocations: 349.6 kB / 0.5233 GB, free: 8.766 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/1.4, allocations: 14.67 kB / 0.5233 GB, free: 8.758 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003709/1.401, allocations: 0.9711 MB / 0.5242 GB, free: 7.797 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.401, allocations: 4.656 kB / 0.5242 GB, free: 7.793 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/1.401, allocations: 0.8968 MB / 0.5251 GB, free: 6.996 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/1.401, allocations: 111.7 kB / 0.5252 GB, free: 6.898 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/1.401, allocations: 14.48 kB / 0.5252 GB, free: 6.891 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/1.401, allocations: 13.75 kB / 0.5253 GB, free: 6.883 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/1.402, allocations: 25.62 kB / 0.5253 GB, free: 6.859 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/1.402, allocations: 15.69 kB / 0.5253 GB, free: 6.852 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0002453/1.402, allocations: 440.2 kB / 0.5257 GB, free: 6.496 MB / 442.8 MB Notification: Performance of sort global known variables: time 6e-08/1.402, allocations: 4.031 kB / 0.5257 GB, free: 6.492 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.002238/1.404, allocations: 1.177 MB / 0.5269 GB, free: 5.395 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (centrifugalPump.w) * 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 (29): * Single equations (assignments): 28 * 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 {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003242/1.407, allocations: 1.782 MB / 0.5286 GB, free: 3.891 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0007258/1.408, allocations: 482.6 kB / 0.5291 GB, free: 3.473 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.408, allocations: 0 / 0.5291 GB, free: 3.473 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00028/1.408, allocations: 267.9 kB / 0.5293 GB, free: 3.246 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/1.409, allocations: 97.47 kB / 0.5294 GB, free: 3.18 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/1.41, allocations: 1.383 MB / 0.5308 GB, free: 1.863 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.126e-05/1.411, allocations: 198.3 kB / 0.531 GB, free: 1.656 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 9.823e-05/1.411, allocations: 27.59 kB / 0.531 GB, free: 1.629 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/1.411, allocations: 27.69 kB / 0.531 GB, free: 1.605 MB / 442.8 MB Notification: Performance of SimCode: time 1.463e-06/1.411, allocations: 0 / 0.531 GB, free: 1.605 MB / 442.8 MB Notification: Performance of Templates: time 0.04078/1.452, allocations: 41.94 MB / 0.572 GB, free: 7.922 MB / 490.8 MB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.057012263219804]