Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.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.4692/0.4692, allocations: 111.6 MB / 131.2 MB, free: 4.5 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.TestCentrifugalPump8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 176.2 MB, free: 8.863 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.344e-05/1.513e-05, allocations: 9.266 kB / 176.2 MB, free: 8.855 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.TestCentrifugalPump8): time 1.001/1.001, allocations: 257.2 MB / 433.4 MB, free: 260 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02357/1.025, allocations: 29.99 MB / 463.4 MB, free: 2.145 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/1.025, allocations: 0 / 463.4 MB, free: 2.145 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/SourceAngularVelocity.mo:6:3-7: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.0002887/1.025, allocations: 107.3 kB / 463.5 MB, free: 2.039 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/1.025, allocations: 125.1 kB / 463.6 MB, free: 1.914 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.01356/1.039, allocations: 8.685 MB / 472.3 MB, free: 9.199 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003776/1.039, allocations: 454.1 kB / 472.7 MB, free: 8.754 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/1.039, allocations: 177.6 kB / 472.9 MB, free: 8.582 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002753/1.04, allocations: 287.2 kB / 473.2 MB, free: 8.301 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/1.04, allocations: 131.6 kB / 473.3 MB, free: 8.172 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.336e-05/1.04, allocations: 32 kB / 473.3 MB, free: 8.141 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1811/1.221, allocations: 14.28 MB / 487.6 MB, free: 10.27 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/1.221, allocations: 190.7 kB / 487.8 MB, free: 10.27 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/1.221, allocations: 154.3 kB / 488 MB, free: 10.27 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01101/1.232, allocations: 9.878 MB / 497.8 MB, free: 9.984 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.232, allocations: 0 / 497.8 MB, free: 9.984 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/1.232, allocations: 7.5 kB / 497.9 MB, free: 9.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/1.232, allocations: 0 / 497.9 MB, free: 9.98 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003011/1.235, allocations: 1.918 MB / 499.8 MB, free: 8.801 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/1.236, allocations: 15.17 kB / 499.8 MB, free: 8.797 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.612e-05/1.236, allocations: 120.2 kB / 499.9 MB, free: 8.746 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/1.236, allocations: 377 kB / 0.4885 GB, free: 8.484 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/1.236, allocations: 24.97 kB / 0.4886 GB, free: 8.484 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/1.236, allocations: 34.09 kB / 0.4886 GB, free: 8.484 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/1.236, allocations: 0.509 MB / 0.4891 GB, free: 8.305 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/1.236, allocations: 0.6094 kB / 0.4891 GB, free: 8.305 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/1.236, allocations: 13.81 kB / 0.4891 GB, free: 8.305 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/1.236, allocations: 13.31 kB / 0.4891 GB, free: 8.305 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003478/1.237, allocations: 454.2 kB / 0.4896 GB, free: 8.305 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/1.238, allocations: 2.451 MB / 0.492 GB, free: 6.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005774/1.238, allocations: 0.6486 MB / 0.4926 GB, free: 6.543 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/1.239, allocations: 222 kB / 0.4928 GB, free: 6.492 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0354/1.274, allocations: 22.68 MB / 0.5149 GB, free: 5.547 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/1.274, allocations: 37.39 kB / 0.515 GB, free: 5.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.014e-06/1.274, allocations: 0 / 0.515 GB, free: 5.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001759/1.276, allocations: 1.145 MB / 0.5161 GB, free: 4.352 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/1.276, allocations: 59.34 kB / 0.5162 GB, free: 4.281 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/1.276, allocations: 0.6908 MB / 0.5168 GB, free: 3.574 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/1.276, allocations: 29.7 kB / 0.5169 GB, free: 3.539 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/1.276, allocations: 431.2 kB / 0.5173 GB, free: 3.113 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.478e-05/1.277, allocations: 133.5 kB / 0.5174 GB, free: 2.984 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-05/1.277, allocations: 71.34 kB / 0.5175 GB, free: 2.906 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/1.277, allocations: 496.4 kB / 0.5179 GB, free: 2.414 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/1.277, allocations: 191.9 kB / 0.5181 GB, free: 2.227 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/1.277, allocations: 262 kB / 0.5184 GB, free: 1.945 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/1.277, allocations: 471.7 kB / 0.5188 GB, free: 1.465 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.277, allocations: 0 / 0.5188 GB, free: 1.465 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007527/1.278, allocations: 0.7282 MB / 0.5195 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.278, allocations: 12.14 kB / 0.5195 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/1.278, allocations: 0 / 0.5195 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/1.28, allocations: 0.7191 MB / 0.5202 GB, free: 12 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.926e-05/1.28, allocations: 35.17 kB / 0.5203 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007651/1.281, allocations: 1.4 MB / 0.5216 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/1.281, allocations: 39.72 kB / 0.5217 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/1.281, allocations: 8 kB / 0.5217 GB, free: 14.51 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 (18): * Single equations (assignments): 17 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001197/1.281, allocations: 177.1 kB / 0.5219 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.745e-05/1.281, allocations: 94.38 kB / 0.522 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007578/1.282, allocations: 0.7936 MB / 0.5227 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005454/1.283, allocations: 0.6503 MB / 0.5234 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/1.283, allocations: 0 / 0.5234 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.283, allocations: 3.938 kB / 0.5234 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/1.284, allocations: 1.611 MB / 0.5249 GB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.284, allocations: 0 / 0.5249 GB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.368e-05/1.284, allocations: 43.52 kB / 0.525 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009169/1.285, allocations: 479.2 kB / 0.5254 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/1.285, allocations: 8 kB / 0.5254 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008315/1.286, allocations: 1.409 MB / 0.5268 GB, free: 9.176 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.286, allocations: 0 / 0.5268 GB, free: 9.176 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006652/1.286, allocations: 0.9083 MB / 0.5277 GB, free: 8.246 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.47e-05/1.287, allocations: 96.31 kB / 0.5278 GB, free: 8.152 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/1.287, allocations: 19.92 kB / 0.5278 GB, free: 8.133 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.444e-05/1.287, allocations: 8 kB / 0.5278 GB, free: 8.125 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/1.287, allocations: 27.95 kB / 0.5279 GB, free: 8.098 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/1.287, allocations: 9.25 kB / 0.5279 GB, free: 8.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002738/1.287, allocations: 434.9 kB / 0.5283 GB, free: 7.672 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.287, allocations: 0 / 0.5283 GB, free: 7.672 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002075/1.289, allocations: 1.157 MB / 0.5294 GB, free: 6.512 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 (22): * Single equations (assignments): 21 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002912/1.292, allocations: 1.77 MB / 0.5311 GB, free: 4.961 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000647/1.293, allocations: 0.5835 MB / 0.5317 GB, free: 4.383 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.293, allocations: 0 / 0.5317 GB, free: 4.383 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003234/1.293, allocations: 340.5 kB / 0.532 GB, free: 4.051 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/1.293, allocations: 84.58 kB / 0.5321 GB, free: 3.973 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/1.295, allocations: 1.444 MB / 0.5335 GB, free: 2.508 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/1.295, allocations: 184.8 kB / 0.5337 GB, free: 2.309 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.444e-05/1.296, allocations: 21.89 kB / 0.5337 GB, free: 2.289 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/1.296, allocations: 24.5 kB / 0.5337 GB, free: 2.266 MB / 458.7 MB Notification: Performance of SimCode: time 5.81e-07/1.296, allocations: 0 / 0.5337 GB, free: 2.266 MB / 458.7 MB Notification: Performance of Templates: time 0.04536/1.341, allocations: 50.34 MB / 0.5829 GB, free: 168 kB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.044826228171587]