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.8132/0.8132, allocations: 111.6 MB / 131 MB, free: 5.086 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.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 1.572e-06/1.572e-06, allocations: 0 / 175.7 MB, free: 9.449 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.484e-05, allocations: 9.047 kB / 175.7 MB, free: 9.441 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.TestCentrifugalPump2): time 1.723/1.723, allocations: 255.6 MB / 431.3 MB, free: 15.59 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.4342/2.157, allocations: 181 MB / 0.5979 GB, free: 8.742 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003664/2.158, allocations: 8 kB / 0.598 GB, free: 8.734 MB / 0.5105 GB [/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/SourceP.mo:19:3-20: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/SinkP.mo:19:3-20: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/WaterSteam/PressureLosses/LumpedStraightPipe.mo:29:3-30: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/PressureLosses/LumpedStraightPipe.mo:31:3-32:78: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.0004527/2.158, allocations: 135 kB / 0.5981 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0004657/2.159, allocations: 232.3 kB / 0.5983 GB, free: 8.375 MB / 0.5105 GB [/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.03138/2.19, allocations: 11.76 MB / 0.6098 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.00118/2.191, allocations: 0.7471 MB / 0.6105 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003809/2.192, allocations: 240.7 kB / 0.6107 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006321/2.192, allocations: 442.8 kB / 0.6112 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003605/2.193, allocations: 203.4 kB / 0.6114 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/2.193, allocations: 44 kB / 0.6114 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03757/2.23, allocations: 18.97 MB / 0.6299 GB, free: 8.039 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003301/2.231, allocations: 231.1 kB / 0.6301 GB, free: 7.812 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003898/2.231, allocations: 219.2 kB / 0.6304 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.02882/2.26, allocations: 12.86 MB / 0.6429 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/2.26, allocations: 4 kB / 0.6429 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.282e-06/2.26, allocations: 0 / 0.6429 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.076e-05/2.26, allocations: 0 / 0.6429 GB, free: 10.7 MB / 0.5573 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.006227/2.266, allocations: 2.546 MB / 0.6454 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/2.266, allocations: 11.98 kB / 0.6454 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000232/2.266, allocations: 159.1 kB / 0.6456 GB, free: 7.934 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006094/2.267, allocations: 427.9 kB / 0.646 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.777e-05/2.267, allocations: 37 kB / 0.646 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.846e-05/2.267, allocations: 40 kB / 0.646 GB, free: 7.41 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/2.268, allocations: 0.7435 MB / 0.6468 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/2.268, allocations: 3.938 kB / 0.6468 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.914e-05/2.268, allocations: 24 kB / 0.6468 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.612e-05/2.268, allocations: 19.98 kB / 0.6468 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/2.27, allocations: 0.644 MB / 0.6474 GB, free: 5.902 MB / 0.5573 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.02374/2.293, allocations: 8.491 MB / 0.6557 GB, free: 13.3 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/2.295, allocations: 0.7561 MB / 0.6565 GB, free: 12.54 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005411/2.295, allocations: 311.3 kB / 0.6568 GB, free: 12.23 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4822/2.777, allocations: 91.98 MB / 0.7466 GB, free: 271.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/2.777, allocations: 37.39 kB / 0.7466 GB, free: 271.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=72): time 2.435e-06/2.777, allocations: 0 / 0.7466 GB, free: 271.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=72): time 0.003747/2.781, allocations: 1.557 MB / 0.7482 GB, free: 269.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/2.781, allocations: 55.41 kB / 0.7482 GB, free: 269.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007165/2.782, allocations: 0.9069 MB / 0.7491 GB, free: 268.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/2.782, allocations: 29.7 kB / 0.7491 GB, free: 268.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/2.782, allocations: 0.5121 MB / 0.7496 GB, free: 268.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/2.782, allocations: 267.1 kB / 0.7499 GB, free: 267.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/2.782, allocations: 127.8 kB / 0.75 GB, free: 267.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.966e-05/2.783, allocations: 0.5163 MB / 0.7505 GB, free: 267.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/2.783, allocations: 297.4 kB / 0.7508 GB, free: 266.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/2.783, allocations: 425 kB / 0.7512 GB, free: 266.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007889/2.784, allocations: 0.7543 MB / 0.7519 GB, free: 265.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/2.784, allocations: 0 / 0.7519 GB, free: 265.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001405/2.786, allocations: 1.074 MB / 0.753 GB, free: 264.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/2.786, allocations: 8 kB / 0.753 GB, free: 264.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/2.786, allocations: 0 / 0.753 GB, free: 264.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006103/2.792, allocations: 1.239 MB / 0.7542 GB, free: 263.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/2.792, allocations: 47.92 kB / 0.7542 GB, free: 263.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/2.793, allocations: 1.69 MB / 0.7559 GB, free: 261.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/2.794, allocations: 53.3 kB / 0.7559 GB, free: 261.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/2.794, allocations: 18.34 kB / 0.756 GB, free: 261.5 MB / 0.6198 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.0002036/2.794, allocations: 222.3 kB / 0.7562 GB, free: 261.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/2.794, allocations: 111.3 kB / 0.7563 GB, free: 261.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/2.796, allocations: 1.591 MB / 0.7578 GB, free: 259.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001081/2.797, allocations: 0.9242 MB / 0.7587 GB, free: 258.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/2.797, allocations: 0.8125 kB / 0.7587 GB, free: 258.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/2.797, allocations: 3.984 kB / 0.7587 GB, free: 258.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/2.799, allocations: 2.25 MB / 0.7609 GB, free: 256.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/2.799, allocations: 3.984 kB / 0.7609 GB, free: 256.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/2.8, allocations: 71.91 kB / 0.761 GB, free: 256.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00199/2.801, allocations: 0.5204 MB / 0.7615 GB, free: 255.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/2.802, allocations: 17.06 kB / 0.7615 GB, free: 255.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/2.803, allocations: 1.53 MB / 0.763 GB, free: 254.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/2.803, allocations: 4 kB / 0.763 GB, free: 254.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/2.804, allocations: 1.645 MB / 0.7646 GB, free: 252.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/2.804, allocations: 139 kB / 0.7648 GB, free: 252.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.276e-05/2.805, allocations: 8.625 kB / 0.7648 GB, free: 252.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/2.805, allocations: 19.98 kB / 0.7648 GB, free: 252.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.865e-05/2.805, allocations: 45.02 kB / 0.7648 GB, free: 252.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/2.805, allocations: 16 kB / 0.7649 GB, free: 252.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004813/2.805, allocations: 0.5584 MB / 0.7654 GB, free: 251.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/2.805, allocations: 0 / 0.7654 GB, free: 251.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003291/2.809, allocations: 1.623 MB / 0.767 GB, free: 250.3 MB / 0.6198 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.005322/2.814, allocations: 2.556 MB / 0.7695 GB, free: 248 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001536/2.816, allocations: 0.8785 MB / 0.7703 GB, free: 247.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/2.816, allocations: 0 / 0.7703 GB, free: 247.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007548/2.816, allocations: 486.6 kB / 0.7708 GB, free: 246.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/2.817, allocations: 197.2 kB / 0.771 GB, free: 246.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/2.819, allocations: 1.808 MB / 0.7728 GB, free: 244.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/2.82, allocations: 467.5 kB / 0.7732 GB, free: 244.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001773/2.82, allocations: 47.22 kB / 0.7733 GB, free: 244.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.366e-05/2.82, allocations: 36.5 kB / 0.7733 GB, free: 244.1 MB / 0.6198 GB Notification: Performance of SimCode: time 1.062e-06/2.82, allocations: 0 / 0.7733 GB, free: 244.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.0571/2.877, allocations: 54.26 MB / 0.8263 GB, free: 190.1 MB / 0.6198 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.812920974101871]