Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.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.8856/0.8856, allocations: 120.4 MB / 140.1 MB, free: 44 kB / 126.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.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005656/0.0005656, allocations: 13.39 kB / 217.7 MB, free: 13.53 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06095/0.06152, allocations: 33.38 MB / 251.1 MB, free: 13.29 MB / 238.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.TestStaticCentrifugalPump1): time 1.822/1.883, allocations: 254.1 MB / 0.4934 GB, free: 14.93 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04748/1.931, allocations: 30.54 MB / 0.5232 GB, free: 6.246 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/1.931, allocations: 0 / 0.5232 GB, free: 6.246 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/StaticCentrifugalPump.mo:60:3-62: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/StaticCentrifugalPump.mo:63:3-65: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/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). Notification: Performance of NFTyping.typeComponents: time 0.0004214/1.931, allocations: 106.1 kB / 0.5233 GB, free: 6.145 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003633/1.932, allocations: 128.9 kB / 0.5234 GB, free: 6.02 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.02886/1.96, allocations: 9.703 MB / 0.5329 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007095/1.961, allocations: 406.2 kB / 0.5333 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/1.961, allocations: 116.7 kB / 0.5334 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003794/1.962, allocations: 172.6 kB / 0.5335 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/1.962, allocations: 123.3 kB / 0.5337 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.743e-05/1.962, allocations: 24 kB / 0.5337 GB, free: 11.53 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03579/1.998, allocations: 16.75 MB / 0.55 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001225/1.998, allocations: 55.78 kB / 0.5501 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002132/1.998, allocations: 127.3 kB / 0.5502 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02149/2.02, allocations: 8.474 MB / 0.5585 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/2.02, allocations: 15.88 kB / 0.5585 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/2.02, allocations: 3.625 kB / 0.5585 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.233e-05/2.02, allocations: 0 / 0.5585 GB, free: 2.094 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004297/2.024, allocations: 1.45 MB / 0.5599 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/2.024, allocations: 12.03 kB / 0.5599 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.737e-05/2.024, allocations: 39.75 kB / 0.56 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/2.024, allocations: 188.7 kB / 0.5602 GB, free: 352 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/2.024, allocations: 22.66 kB / 0.5602 GB, free: 332 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/2.024, allocations: 20 kB / 0.5602 GB, free: 312 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006231/2.025, allocations: 343.8 kB / 0.5605 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/2.025, allocations: 0 / 0.5605 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/2.025, allocations: 6.531 kB / 0.5605 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/2.025, allocations: 12 kB / 0.5605 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004618/2.026, allocations: 223.7 kB / 0.5608 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03983/2.065, allocations: 10.84 MB / 0.5713 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/2.066, allocations: 170.5 kB / 0.5715 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/2.066, allocations: 104.8 kB / 0.5716 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1643/2.23, allocations: 43.58 MB / 0.6142 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/2.23, allocations: 38.5 kB / 0.6142 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 2.384e-06/2.23, allocations: 0 / 0.6142 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41): time 0.004553/2.235, allocations: 0.8582 MB / 0.615 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/2.235, allocations: 59.41 kB / 0.6151 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/2.235, allocations: 205.1 kB / 0.6153 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/2.235, allocations: 29.64 kB / 0.6153 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/2.235, allocations: 160.6 kB / 0.6155 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/2.236, allocations: 138.8 kB / 0.6156 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.681e-05/2.236, allocations: 61.64 kB / 0.6157 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001716/2.236, allocations: 338.8 kB / 0.616 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/2.236, allocations: 100.5 kB / 0.6161 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/2.236, allocations: 151.2 kB / 0.6162 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004737/2.237, allocations: 274.8 kB / 0.6165 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/2.237, allocations: 4 kB / 0.6165 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002611/2.239, allocations: 0.5985 MB / 0.6171 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/2.239, allocations: 8 kB / 0.6171 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/2.239, allocations: 4 kB / 0.6171 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008711/2.24, allocations: 218.1 kB / 0.6173 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.306e-05/2.24, allocations: 23.98 kB / 0.6173 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/2.241, allocations: 0.7357 MB / 0.618 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/2.242, allocations: 31.77 kB / 0.6181 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/2.242, allocations: 12 kB / 0.6181 GB, free: 4.781 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (sinkP.C.a,sourceP.C.b,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001688/2.242, allocations: 137.9 kB / 0.6182 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/2.242, allocations: 23.86 kB / 0.6182 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/2.243, allocations: 0.7768 MB / 0.619 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005507/2.243, allocations: 294.9 kB / 0.6193 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/2.244, allocations: 3.984 kB / 0.6193 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/2.244, allocations: 0 / 0.6193 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/2.245, allocations: 0.7662 MB / 0.62 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/2.245, allocations: 0 / 0.62 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.687e-05/2.245, allocations: 27.92 kB / 0.62 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007057/2.246, allocations: 195.2 kB / 0.6202 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/2.246, allocations: 4 kB / 0.6202 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009587/2.247, allocations: 0.7553 MB / 0.621 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/2.247, allocations: 7.875 kB / 0.621 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007151/2.247, allocations: 412.1 kB / 0.6214 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.774e-05/2.247, allocations: 31.78 kB / 0.6214 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/2.247, allocations: 15.94 kB / 0.6214 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/2.248, allocations: 11.98 kB / 0.6214 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/2.248, allocations: 8.641 kB / 0.6214 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/2.248, allocations: 7.984 kB / 0.6215 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002623/2.248, allocations: 225.1 kB / 0.6217 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/2.248, allocations: 0 / 0.6217 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003159/2.251, allocations: 1.22 MB / 0.6229 GB, free: 15.71 MB / 0.5762 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 (13): * Single equations (assignments): 12 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005541/2.257, allocations: 1.74 MB / 0.6246 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008561/2.258, allocations: 308.3 kB / 0.6248 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/2.258, allocations: 0 / 0.6248 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003904/2.258, allocations: 139.5 kB / 0.625 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007699/2.259, allocations: 106.2 kB / 0.6251 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/2.26, allocations: 0.6214 MB / 0.6257 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/2.26, allocations: 172.8 kB / 0.6259 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.719e-05/2.26, allocations: 11.38 kB / 0.6259 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/2.26, allocations: 20.5 kB / 0.6259 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/2.26, allocations: 4 kB / 0.6259 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of Templates: time 0.06505/2.325, allocations: 42.52 MB / 0.6674 GB, free: 2.281 MB / 0.6075 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.580168965039775] Failed to read output from testmodel.py, exit status != 0: 2.6792258359491825 2.689317904 0.667059616 Calling exit ...