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.8776/0.8776, allocations: 153.8 MB / 172.7 MB, free: 4.832 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/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 0.0005545/0.0005545, allocations: 11.97 kB / 250.3 MB, free: 3.867 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1565, allocations: 33.36 MB / 283.7 MB, free: 2.035 MB / 222.1 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.881/2.037, allocations: 307.7 MB / 0.5775 GB, free: 17.31 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02999/2.067, allocations: 27.71 MB / 0.6045 GB, free: 4.57 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003103/2.068, allocations: 2.219 kB / 0.6045 GB, free: 4.57 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:117:3-119:42: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:120:3-122:37: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:126:3-130:23: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:29:3-30:52: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:17:3-19:16: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.0004516/2.068, allocations: 103.5 kB / 0.6046 GB, free: 4.523 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003459/2.069, allocations: 112.7 kB / 0.6047 GB, free: 4.457 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783: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:850:9-850: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:1088:9-1088: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:69:3-69: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:69:3-69: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:167:3-170:49: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:167:3-170:49: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.02397/2.093, allocations: 8.578 MB / 0.6131 GB, free: 104 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007746/2.093, allocations: 450.9 kB / 0.6135 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000332/2.094, allocations: 161.5 kB / 0.6137 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004362/2.094, allocations: 199.9 kB / 0.6139 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003917/2.094, allocations: 164.7 kB / 0.614 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.383e-05/2.095, allocations: 29.78 kB / 0.6141 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03316/2.128, allocations: 14.3 MB / 0.628 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002613/2.128, allocations: 191.3 kB / 0.6282 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003767/2.128, allocations: 222.3 kB / 0.6284 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01769/2.146, allocations: 7.982 MB / 0.6362 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/2.146, allocations: 4 kB / 0.6362 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.504e-06/2.146, allocations: 0.8438 kB / 0.6362 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.541e-05/2.146, allocations: 0 / 0.6362 GB, free: 9.156 MB / 0.4981 GB 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.004883/2.151, allocations: 1.846 MB / 0.638 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/2.151, allocations: 8.031 kB / 0.638 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/2.151, allocations: 91.39 kB / 0.6381 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005802/2.152, allocations: 369.4 kB / 0.6385 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.435e-05/2.152, allocations: 28.59 kB / 0.6385 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/2.152, allocations: 28.84 kB / 0.6385 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009543/2.153, allocations: 478.7 kB / 0.639 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/2.153, allocations: 5.125 kB / 0.639 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/2.153, allocations: 16 kB / 0.639 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/2.153, allocations: 11.98 kB / 0.639 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/2.154, allocations: 498.2 kB / 0.6395 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/2.156, allocations: 1.483 MB / 0.6409 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/2.157, allocations: 0.4947 MB / 0.6414 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004247/2.158, allocations: 196.8 kB / 0.6416 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08318/2.241, allocations: 22.6 MB / 0.6637 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/2.241, allocations: 38.56 kB / 0.6637 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.204e-06/2.241, allocations: 0 / 0.6637 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=34): time 0.003309/2.244, allocations: 0.9757 MB / 0.6647 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/2.244, allocations: 51.41 kB / 0.6647 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/2.245, allocations: 0.7759 MB / 0.6655 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/2.245, allocations: 29.7 kB / 0.6655 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/2.246, allocations: 372.4 kB / 0.6659 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/2.246, allocations: 122.9 kB / 0.666 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/2.246, allocations: 77.95 kB / 0.6661 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001555/2.246, allocations: 322 kB / 0.6664 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004601/2.247, allocations: 208.6 kB / 0.6666 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000502/2.247, allocations: 268.3 kB / 0.6668 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009726/2.248, allocations: 480.2 kB / 0.6673 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/2.248, allocations: 0 / 0.6673 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001409/2.25, allocations: 0.6732 MB / 0.6679 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/2.25, allocations: 8 kB / 0.6679 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/2.25, allocations: 0 / 0.6679 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004257/2.254, allocations: 0.6465 MB / 0.6686 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/2.254, allocations: 59.89 kB / 0.6686 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/2.255, allocations: 0.776 MB / 0.6694 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/2.256, allocations: 55.67 kB / 0.6694 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/2.256, allocations: 17.75 kB / 0.6695 GB, free: 6.824 MB / 0.5294 GB 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 (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.0003532/2.256, allocations: 241.7 kB / 0.6697 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/2.256, allocations: 79.44 kB / 0.6698 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/2.258, allocations: 0.7933 MB / 0.6705 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001177/2.259, allocations: 0.5857 MB / 0.6711 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/2.259, allocations: 1.344 kB / 0.6711 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/2.259, allocations: 0.5625 kB / 0.6711 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/2.261, allocations: 1.317 MB / 0.6724 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/2.262, allocations: 1.125 kB / 0.6724 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/2.262, allocations: 47.91 kB / 0.6725 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002044/2.264, allocations: 397.2 kB / 0.6728 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/2.264, allocations: 8 kB / 0.6728 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009801/2.265, allocations: 0.8196 MB / 0.6736 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/2.265, allocations: 7.938 kB / 0.6736 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/2.266, allocations: 0.7522 MB / 0.6744 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/2.266, allocations: 107.2 kB / 0.6745 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/2.266, allocations: 8.938 kB / 0.6745 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/2.267, allocations: 23.98 kB / 0.6745 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.438e-05/2.267, allocations: 31.88 kB / 0.6745 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/2.267, allocations: 12 kB / 0.6746 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007163/2.268, allocations: 0.5379 MB / 0.6751 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/2.268, allocations: 0 / 0.6751 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002874/2.27, allocations: 1.169 MB / 0.6762 GB, free: 15.79 MB / 0.545 GB 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.0052/2.276, allocations: 1.621 MB / 0.6778 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001439/2.277, allocations: 0.5728 MB / 0.6784 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/2.277, allocations: 0 / 0.6784 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007455/2.278, allocations: 302.3 kB / 0.6787 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006279/2.278, allocations: 86.67 kB / 0.6787 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/2.281, allocations: 1.483 MB / 0.6802 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/2.281, allocations: 382.7 kB / 0.6805 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001772/2.282, allocations: 39.66 kB / 0.6806 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.635e-05/2.282, allocations: 31.42 kB / 0.6806 GB, free: 11.27 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/2.282, allocations: 0 / 0.6806 GB, free: 11.27 MB / 0.545 GB Notification: Performance of Templates: time 0.06108/2.343, allocations: 41.26 MB / 0.7209 GB, free: 2.457 MB / 0.5762 GB " [Timeout remaining time 657] 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.25825690664351] Failed to read output from testmodel.py, exit status != 0: 2.5207471679896116 2.536412414 0.386958596 Calling exit ...