Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.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.9075/0.9075, allocations: 153.8 MB / 173.4 MB, free: 4.922 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.TestCentrifugalPump2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005602/0.0005602, allocations: 7.984 kB / 251.1 MB, free: 3.934 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1771, allocations: 33.36 MB / 284.5 MB, free: 2.133 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.TestCentrifugalPump2): time 1.841/2.018, allocations: 308.5 MB / 0.579 GB, free: 15.99 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2162/2.234, allocations: 190.7 MB / 0.7653 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000566/2.235, allocations: 4 kB / 0.7653 GB, free: 5.469 MB / 0.6231 GB [/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/SourceP.mo:30:3-31:45: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/SinkP.mo:33:3-34:47: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/PressureLosses/LumpedStraightPipe.mo:49:3-50: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/PressureLosses/LumpedStraightPipe.mo:51:3-53:37:writable] Warning: Connector C2 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.0005131/2.235, allocations: 167 kB / 0.7654 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0004835/2.236, allocations: 220.4 kB / 0.7656 GB, free: 5.09 MB / 0.6231 GB [/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.03305/2.269, allocations: 11.79 MB / 0.7772 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001262/2.27, allocations: 0.724 MB / 0.7779 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004275/2.271, allocations: 226.7 kB / 0.7781 GB, free: 8.34 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005551/2.271, allocations: 318.7 kB / 0.7784 GB, free: 8.027 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000394/2.271, allocations: 274.7 kB / 0.7786 GB, free: 7.758 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 8.089e-05/2.272, allocations: 47.94 kB / 0.7787 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04026/2.312, allocations: 20.39 MB / 0.7986 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003448/2.312, allocations: 223.2 kB / 0.7988 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004722/2.313, allocations: 397.2 kB / 0.7992 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02522/2.338, allocations: 10.33 MB / 0.8093 GB, free: 8.332 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/2.338, allocations: 4 kB / 0.8093 GB, free: 8.328 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.593e-06/2.338, allocations: 0 / 0.8093 GB, free: 8.328 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.437e-05/2.338, allocations: 0 / 0.8093 GB, free: 8.328 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.006265/2.344, allocations: 2.4 MB / 0.8116 GB, free: 5.883 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/2.344, allocations: 8.031 kB / 0.8116 GB, free: 5.875 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/2.344, allocations: 123.1 kB / 0.8118 GB, free: 5.754 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005786/2.345, allocations: 433 kB / 0.8122 GB, free: 5.305 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.147e-05/2.345, allocations: 35.34 kB / 0.8122 GB, free: 5.27 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.4e-05/2.345, allocations: 44 kB / 0.8122 GB, free: 5.227 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/2.346, allocations: 0.7697 MB / 0.813 GB, free: 4.406 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/2.346, allocations: 3.938 kB / 0.813 GB, free: 4.402 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/2.346, allocations: 19.94 kB / 0.813 GB, free: 4.383 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/2.346, allocations: 19.98 kB / 0.813 GB, free: 4.363 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/2.348, allocations: 0.7611 MB / 0.8138 GB, free: 3.602 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02198/2.37, allocations: 8.408 MB / 0.822 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/2.371, allocations: 0.8297 MB / 0.8228 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005806/2.372, allocations: 358 kB / 0.8231 GB, free: 9.746 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.463/2.835, allocations: 91.27 MB / 0.9123 GB, free: 244.1 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/2.835, allocations: 34.56 kB / 0.9123 GB, free: 244.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 2.465e-06/2.835, allocations: 4 kB / 0.9123 GB, free: 244.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72): time 0.004195/2.839, allocations: 1.759 MB / 0.914 GB, free: 242.4 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/2.839, allocations: 59.34 kB / 0.9141 GB, free: 242.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009449/2.84, allocations: 0.8745 MB / 0.9149 GB, free: 241.4 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/2.84, allocations: 29.7 kB / 0.915 GB, free: 241.4 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/2.84, allocations: 439.8 kB / 0.9154 GB, free: 241 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/2.84, allocations: 257.6 kB / 0.9156 GB, free: 240.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/2.841, allocations: 106 kB / 0.9157 GB, free: 240.7 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.299e-05/2.841, allocations: 330 kB / 0.916 GB, free: 240.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004728/2.841, allocations: 356.8 kB / 0.9164 GB, free: 240 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004956/2.842, allocations: 439.3 kB / 0.9168 GB, free: 239.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009305/2.843, allocations: 0.8028 MB / 0.9176 GB, free: 238.7 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/2.843, allocations: 4 kB / 0.9176 GB, free: 238.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001582/2.844, allocations: 1.158 MB / 0.9187 GB, free: 237.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/2.844, allocations: 8.781 kB / 0.9187 GB, free: 237.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/2.844, allocations: 0 / 0.9187 GB, free: 237.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006205/2.85, allocations: 1.256 MB / 0.92 GB, free: 236.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/2.851, allocations: 54.72 kB / 0.92 GB, free: 236.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/2.852, allocations: 1.414 MB / 0.9214 GB, free: 234.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/2.853, allocations: 68.81 kB / 0.9215 GB, free: 234.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/2.853, allocations: 27.92 kB / 0.9215 GB, free: 234.7 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 (lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0002929/2.853, allocations: 263.3 kB / 0.9217 GB, free: 234.5 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.657e-05/2.853, allocations: 107.3 kB / 0.9218 GB, free: 234.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/2.855, allocations: 1.606 MB / 0.9234 GB, free: 232.7 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001261/2.856, allocations: 1.05 MB / 0.9244 GB, free: 231.7 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/2.856, allocations: 0 / 0.9244 GB, free: 231.7 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/2.856, allocations: 3.984 kB / 0.9244 GB, free: 231.7 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002572/2.859, allocations: 2.317 MB / 0.9267 GB, free: 229.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/2.859, allocations: 0 / 0.9267 GB, free: 229.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/2.859, allocations: 75.16 kB / 0.9268 GB, free: 229.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002067/2.861, allocations: 0.5654 MB / 0.9273 GB, free: 228.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/2.861, allocations: 15.98 kB / 0.9273 GB, free: 228.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/2.862, allocations: 1.302 MB / 0.9286 GB, free: 227.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/2.862, allocations: 0 / 0.9286 GB, free: 227.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/2.864, allocations: 1.789 MB / 0.9304 GB, free: 225.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/2.864, allocations: 144 kB / 0.9305 GB, free: 225.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.522e-05/2.864, allocations: 15.94 kB / 0.9305 GB, free: 225.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/2.865, allocations: 23.98 kB / 0.9305 GB, free: 225.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.363e-05/2.865, allocations: 36.42 kB / 0.9306 GB, free: 225.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/2.865, allocations: 16 kB / 0.9306 GB, free: 225.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000574/2.865, allocations: 0.6461 MB / 0.9312 GB, free: 224.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9.1e-08/2.865, allocations: 0 / 0.9312 GB, free: 224.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003449/2.869, allocations: 1.616 MB / 0.9328 GB, free: 223.3 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (lumpedStraightPipe.Q) * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.005816/2.875, allocations: 2.352 MB / 0.9351 GB, free: 221.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001759/2.876, allocations: 0.9529 MB / 0.936 GB, free: 220.3 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/2.876, allocations: 0 / 0.936 GB, free: 220.3 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007881/2.877, allocations: 488.5 kB / 0.9365 GB, free: 219.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/2.878, allocations: 202.4 kB / 0.9367 GB, free: 219.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/2.881, allocations: 2.078 MB / 0.9387 GB, free: 217.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/2.881, allocations: 1.068 MB / 0.9397 GB, free: 216.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/2.881, allocations: 46.14 kB / 0.9398 GB, free: 216.5 MB / 0.6856 GB Notification: Performance of SimCode: time 1.062e-06/2.881, allocations: 0 / 0.9398 GB, free: 216.5 MB / 0.6856 GB Notification: Performance of Templates: time 0.04109/2.922, allocations: 37.92 MB / 0.9768 GB, free: 179.3 MB / 0.6856 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.239017645129934] Failed to read output from testmodel.py, exit status != 0: 3.0601113718003035 3.0687764189999998 0.728574144 Calling exit ...