Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.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.5271/0.5271, allocations: 111.6 MB / 131.4 MB, free: 4.914 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.TestCentrifugalPump13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 3.984 kB / 176.5 MB, free: 8.969 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.908e-05, allocations: 2.312 kB / 176.5 MB, free: 8.965 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.TestCentrifugalPump13): time 1.033/1.033, allocations: 257.2 MB / 433.7 MB, free: 224 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02335/1.056, allocations: 29.42 MB / 463.1 MB, free: 2.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/1.057, allocations: 0 / 463.1 MB, free: 2.68 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). Notification: Performance of NFTyping.typeComponents: time 0.0003233/1.057, allocations: 107.3 kB / 463.2 MB, free: 2.574 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/1.057, allocations: 125.1 kB / 463.3 MB, free: 2.449 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.01469/1.072, allocations: 8.689 MB / 472 MB, free: 9.73 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004575/1.072, allocations: 454.2 kB / 472.5 MB, free: 9.285 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/1.072, allocations: 172.7 kB / 472.6 MB, free: 9.113 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004407/1.073, allocations: 279.2 kB / 472.9 MB, free: 8.84 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/1.073, allocations: 143.6 kB / 473 MB, free: 8.699 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.014e-05/1.073, allocations: 32 kB / 473.1 MB, free: 8.668 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1862/1.259, allocations: 14.3 MB / 487.4 MB, free: 11.09 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001867/1.26, allocations: 191.5 kB / 487.6 MB, free: 11.09 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/1.26, allocations: 150.7 kB / 487.7 MB, free: 11.09 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01459/1.274, allocations: 9.902 MB / 497.6 MB, free: 10.81 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.274, allocations: 1 kB / 497.6 MB, free: 10.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.633e-06/1.274, allocations: 0 / 497.6 MB, free: 10.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.281e-05/1.274, allocations: 2.875 kB / 497.6 MB, free: 10.81 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.004149/1.278, allocations: 1.939 MB / 499.6 MB, free: 9.633 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/1.278, allocations: 14.42 kB / 499.6 MB, free: 9.629 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/1.279, allocations: 118.5 kB / 499.7 MB, free: 9.578 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/1.279, allocations: 377.7 kB / 0.4883 GB, free: 9.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/1.279, allocations: 22.88 kB / 0.4884 GB, free: 9.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/1.279, allocations: 32.69 kB / 0.4884 GB, free: 9.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/1.279, allocations: 353.7 kB / 0.4887 GB, free: 9.199 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/1.279, allocations: 9.312 kB / 0.4887 GB, free: 9.199 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/1.279, allocations: 8.75 kB / 0.4887 GB, free: 9.199 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/1.279, allocations: 10.34 kB / 0.4888 GB, free: 9.199 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/1.28, allocations: 221.9 kB / 0.489 GB, free: 9.195 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/1.281, allocations: 1.6 MB / 0.4905 GB, free: 8.262 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/1.281, allocations: 271.6 kB / 0.4908 GB, free: 8.227 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.708e-05/1.281, allocations: 94.34 kB / 0.4909 GB, free: 8.215 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03126/1.312, allocations: 19.94 MB / 0.5104 GB, free: 11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/1.312, allocations: 33.39 kB / 0.5104 GB, free: 10.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 2.033e-06/1.312, allocations: 8.844 kB / 0.5104 GB, free: 10.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=34): time 0.001333/1.314, allocations: 0.6216 MB / 0.511 GB, free: 10.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/1.314, allocations: 62.39 kB / 0.5111 GB, free: 10.26 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004966/1.314, allocations: 0.7136 MB / 0.5118 GB, free: 9.637 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/1.314, allocations: 25.7 kB / 0.5118 GB, free: 9.605 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/1.314, allocations: 465.8 kB / 0.5122 GB, free: 9.184 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.992e-05/1.314, allocations: 132.3 kB / 0.5123 GB, free: 9.062 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.027e-05/1.314, allocations: 73.84 kB / 0.5124 GB, free: 8.988 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.567e-05/1.315, allocations: 0.4946 MB / 0.5129 GB, free: 8.496 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.96e-05/1.315, allocations: 80.77 kB / 0.513 GB, free: 8.414 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/1.315, allocations: 156.7 kB / 0.5131 GB, free: 8.246 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/1.315, allocations: 261.4 kB / 0.5134 GB, free: 7.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.315, allocations: 0.5 kB / 0.5134 GB, free: 7.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003878/1.315, allocations: 437.5 kB / 0.5138 GB, free: 7.559 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/1.315, allocations: 8 kB / 0.5138 GB, free: 7.551 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/1.315, allocations: 0 / 0.5138 GB, free: 7.551 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001681/1.317, allocations: 0.5859 MB / 0.5144 GB, free: 6.965 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/1.317, allocations: 47.88 kB / 0.5144 GB, free: 6.922 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004501/1.318, allocations: 0.9429 MB / 0.5153 GB, free: 5.961 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/1.318, allocations: 43.66 kB / 0.5154 GB, free: 5.918 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/1.318, allocations: 12 kB / 0.5154 GB, free: 5.906 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 (26): * Single equations (assignments): 25 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001319/1.318, allocations: 183.2 kB / 0.5156 GB, free: 5.723 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.735e-05/1.318, allocations: 92.09 kB / 0.5157 GB, free: 5.633 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005489/1.319, allocations: 498.6 kB / 0.5161 GB, free: 5.152 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002838/1.319, allocations: 342.5 kB / 0.5165 GB, free: 4.812 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/1.319, allocations: 0 / 0.5165 GB, free: 4.812 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.319, allocations: 0 / 0.5165 GB, free: 4.812 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008662/1.32, allocations: 1.008 MB / 0.5174 GB, free: 3.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.32, allocations: 0 / 0.5174 GB, free: 3.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/1.32, allocations: 47.97 kB / 0.5175 GB, free: 3.793 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000742/1.321, allocations: 333.2 kB / 0.5178 GB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/1.321, allocations: 9.062 kB / 0.5178 GB, free: 3.465 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005349/1.321, allocations: 0.9585 MB / 0.5188 GB, free: 2.484 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.321, allocations: 0 / 0.5188 GB, free: 2.484 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/1.321, allocations: 0.5606 MB / 0.5193 GB, free: 1.918 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.669e-05/1.322, allocations: 99.33 kB / 0.5194 GB, free: 1.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/1.322, allocations: 11.94 kB / 0.5194 GB, free: 1.809 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/1.322, allocations: 12 kB / 0.5194 GB, free: 1.797 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/1.322, allocations: 28.55 kB / 0.5194 GB, free: 1.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/1.322, allocations: 8.938 kB / 0.5195 GB, free: 1.762 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002132/1.322, allocations: 421.5 kB / 0.5199 GB, free: 1.391 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/1.322, allocations: 7.562 kB / 0.5199 GB, free: 1.387 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00274/1.325, allocations: 1.169 MB / 0.521 GB, free: 220 kB / 442.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 (24): * Single equations (assignments): 23 * 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.003282/1.328, allocations: 1.857 MB / 0.5228 GB, free: 14.56 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004483/1.328, allocations: 360 kB / 0.5232 GB, free: 14.21 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.328, allocations: 0 / 0.5232 GB, free: 14.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/1.329, allocations: 204 kB / 0.5234 GB, free: 14.02 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/1.329, allocations: 99.59 kB / 0.5235 GB, free: 13.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/1.33, allocations: 1.253 MB / 0.5247 GB, free: 12.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/1.33, allocations: 193.1 kB / 0.5249 GB, free: 12.45 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.764e-05/1.331, allocations: 33.66 kB / 0.5249 GB, free: 12.43 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/1.331, allocations: 130.2 kB / 0.525 GB, free: 12.3 MB / 458.7 MB Notification: Performance of SimCode: time 7.61e-07/1.331, allocations: 0 / 0.525 GB, free: 12.3 MB / 458.7 MB Notification: Performance of Templates: time 0.04739/1.378, allocations: 47.74 MB / 0.5716 GB, free: 12.78 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.886055028997362]