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.4648/0.4648, allocations: 111.6 MB / 131.4 MB, free: 4.965 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.673e-06/1.673e-06, allocations: 0 / 176.5 MB, free: 8.977 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.541e-05, allocations: 6.312 kB / 176.5 MB, free: 8.969 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 0.9821/0.9821, allocations: 257.2 MB / 433.7 MB, free: 200 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02278/1.005, allocations: 29.44 MB / 463.2 MB, free: 2.637 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/1.005, allocations: 4 kB / 463.2 MB, free: 2.633 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/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.0002631/1.005, allocations: 111.3 kB / 463.3 MB, free: 2.523 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001552/1.005, allocations: 121.1 kB / 463.4 MB, free: 2.402 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.01363/1.019, allocations: 8.685 MB / 472.1 MB, free: 9.688 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003703/1.019, allocations: 470.1 kB / 472.6 MB, free: 9.227 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/1.02, allocations: 185.4 kB / 472.7 MB, free: 9.043 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/1.02, allocations: 287.2 kB / 473 MB, free: 8.762 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/1.02, allocations: 143.6 kB / 473.2 MB, free: 8.621 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/1.02, allocations: 32 kB / 473.2 MB, free: 8.59 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1753/1.195, allocations: 14.3 MB / 487.5 MB, free: 11.05 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001744/1.196, allocations: 201.6 kB / 487.7 MB, free: 11.05 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001693/1.196, allocations: 155.8 kB / 487.8 MB, free: 11.05 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01238/1.208, allocations: 9.902 MB / 497.7 MB, free: 10.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/1.208, allocations: 0.5938 kB / 497.7 MB, free: 10.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.223e-06/1.208, allocations: 0 / 497.7 MB, free: 10.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/1.208, allocations: 0.9062 kB / 497.7 MB, free: 10.77 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.003191/1.211, allocations: 1.961 MB / 499.7 MB, free: 9.582 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/1.211, allocations: 11.8 kB / 499.7 MB, free: 9.578 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.744e-05/1.211, allocations: 125.4 kB / 499.8 MB, free: 9.527 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/1.212, allocations: 379.7 kB / 0.4885 GB, free: 9.266 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/1.212, allocations: 25.97 kB / 0.4885 GB, free: 9.266 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/1.212, allocations: 28.81 kB / 0.4885 GB, free: 9.266 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003318/1.212, allocations: 362.8 kB / 0.4889 GB, free: 9.145 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/1.212, allocations: 2.016 kB / 0.4889 GB, free: 9.145 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/1.212, allocations: 15.69 kB / 0.4889 GB, free: 9.145 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/1.212, allocations: 6.688 kB / 0.4889 GB, free: 9.145 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/1.212, allocations: 231 kB / 0.4891 GB, free: 9.141 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000986/1.213, allocations: 1.607 MB / 0.4907 GB, free: 8.207 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005792/1.214, allocations: 357 kB / 0.491 GB, free: 8.172 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.363e-05/1.214, allocations: 102.1 kB / 0.4911 GB, free: 8.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03034/1.244, allocations: 19.94 MB / 0.5106 GB, free: 10.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/1.244, allocations: 37.39 kB / 0.5106 GB, free: 10.65 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.134e-06/1.244, allocations: 0 / 0.5106 GB, free: 10.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001188/1.245, allocations: 0.6566 MB / 0.5113 GB, free: 9.992 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/1.245, allocations: 55.41 kB / 0.5113 GB, free: 9.926 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004295/1.246, allocations: 0.6984 MB / 0.512 GB, free: 9.316 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/1.246, allocations: 37.7 kB / 0.512 GB, free: 9.273 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/1.246, allocations: 439.8 kB / 0.5125 GB, free: 8.871 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.379e-05/1.246, allocations: 140 kB / 0.5126 GB, free: 8.742 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.126e-05/1.246, allocations: 86.3 kB / 0.5127 GB, free: 8.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.715e-05/1.246, allocations: 499.1 kB / 0.5132 GB, free: 8.172 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-05/1.246, allocations: 85.33 kB / 0.5132 GB, free: 8.086 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/1.247, allocations: 155.8 kB / 0.5134 GB, free: 7.922 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/1.247, allocations: 255.8 kB / 0.5136 GB, free: 7.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.247, allocations: 4 kB / 0.5136 GB, free: 7.656 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004848/1.247, allocations: 0.4911 MB / 0.5141 GB, free: 7.176 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/1.247, allocations: 12 kB / 0.5141 GB, free: 7.164 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.247, allocations: 0 / 0.5141 GB, free: 7.164 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002077/1.249, allocations: 0.7439 MB / 0.5149 GB, free: 6.422 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/1.249, allocations: 39.27 kB / 0.5149 GB, free: 6.387 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007052/1.25, allocations: 1.313 MB / 0.5162 GB, free: 5.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/1.25, allocations: 40.95 kB / 0.5162 GB, free: 5.031 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/1.25, allocations: 11.98 kB / 0.5162 GB, free: 5.02 MB / 442.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 (centrifugalPump.C1.a,centrifugalPump.C2.b,sourceP.C.b,sinkP.C.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.0001166/1.25, allocations: 176.5 kB / 0.5164 GB, free: 4.836 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/1.25, allocations: 94.75 kB / 0.5165 GB, free: 4.746 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005121/1.251, allocations: 0.4992 MB / 0.517 GB, free: 4.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002864/1.251, allocations: 353.6 kB / 0.5173 GB, free: 3.902 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/1.251, allocations: 0 / 0.5173 GB, free: 3.902 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.251, allocations: 3.984 kB / 0.5173 GB, free: 3.898 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009552/1.252, allocations: 1.06 MB / 0.5183 GB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.252, allocations: 3.938 kB / 0.5184 GB, free: 2.863 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/1.252, allocations: 66.97 kB / 0.5184 GB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007435/1.253, allocations: 330.3 kB / 0.5187 GB, free: 2.484 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/1.253, allocations: 8 kB / 0.5187 GB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003973/1.254, allocations: 0.9493 MB / 0.5197 GB, free: 1.508 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.254, allocations: 5.484 kB / 0.5197 GB, free: 1.504 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005694/1.254, allocations: 0.7488 MB / 0.5204 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.742e-05/1.254, allocations: 107.2 kB / 0.5205 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/1.254, allocations: 11.08 kB / 0.5205 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/1.254, allocations: 12 kB / 0.5205 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/1.254, allocations: 35.91 kB / 0.5206 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/1.254, allocations: 8 kB / 0.5206 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002056/1.255, allocations: 420.5 kB / 0.521 GB, free: 216 kB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/1.255, allocations: 0 / 0.521 GB, free: 216 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.002435/1.257, allocations: 1.173 MB / 0.5221 GB, free: 15.04 MB / 458.7 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.002735/1.26, allocations: 1.86 MB / 0.5239 GB, free: 13.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005287/1.26, allocations: 384.6 kB / 0.5243 GB, free: 13.02 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/1.26, allocations: 4.062 kB / 0.5243 GB, free: 13.02 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002333/1.261, allocations: 215.9 kB / 0.5245 GB, free: 12.81 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/1.261, allocations: 98.38 kB / 0.5246 GB, free: 12.72 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/1.262, allocations: 1.333 MB / 0.5259 GB, free: 11.38 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/1.263, allocations: 189.5 kB / 0.5261 GB, free: 11.17 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.059e-05/1.263, allocations: 31.36 kB / 0.5261 GB, free: 11.14 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/1.263, allocations: 130.2 kB / 0.5262 GB, free: 11.01 MB / 458.7 MB Notification: Performance of SimCode: time 5.41e-07/1.263, allocations: 0 / 0.5262 GB, free: 11.01 MB / 458.7 MB Notification: Performance of Templates: time 0.0458/1.309, allocations: 48.28 MB / 0.5734 GB, free: 10.95 MB / 0.4948 GB " [Timeout remaining time 659] 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: 4.610334574244916]