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.8491/0.8491, allocations: 120.4 MB / 139.5 MB, free: 480 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.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 1.853e-06/1.853e-06, allocations: 0 / 217.2 MB, free: 13.71 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.85e-05, allocations: 9.062 kB / 217.2 MB, free: 13.7 MB / 206.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.556/1.556, allocations: 254.4 MB / 471.6 MB, free: 10.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2344/1.791, allocations: 27.72 MB / 499.3 MB, free: 10.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/1.791, allocations: 2.781 kB / 499.3 MB, free: 10.32 MB / 446.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.0003928/1.791, allocations: 106.7 kB / 499.4 MB, free: 10.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/1.791, allocations: 119.9 kB / 499.6 MB, free: 10.16 MB / 446.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.02494/1.816, allocations: 8.666 MB / 0.4963 GB, free: 4.375 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000666/1.817, allocations: 456.1 kB / 0.4967 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002687/1.817, allocations: 159.7 kB / 0.4969 GB, free: 3.996 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004416/1.818, allocations: 280.1 kB / 0.4972 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/1.818, allocations: 145.6 kB / 0.4973 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.434e-05/1.818, allocations: 32.78 kB / 0.4973 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02841/1.847, allocations: 14.3 MB / 0.5113 GB, free: 5.988 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002526/1.847, allocations: 195.3 kB / 0.5115 GB, free: 5.797 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002787/1.847, allocations: 155.4 kB / 0.5116 GB, free: 5.645 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02071/1.868, allocations: 10.05 MB / 0.5214 GB, free: 11.57 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.868, allocations: 0 / 0.5214 GB, free: 11.57 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.333e-06/1.868, allocations: 0 / 0.5214 GB, free: 11.57 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/1.868, allocations: 0 / 0.5214 GB, free: 11.57 MB / 478.1 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.004593/1.872, allocations: 1.833 MB / 0.5232 GB, free: 9.699 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/1.872, allocations: 8.875 kB / 0.5232 GB, free: 9.691 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/1.873, allocations: 91.39 kB / 0.5233 GB, free: 9.602 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004776/1.873, allocations: 377.9 kB / 0.5237 GB, free: 9.203 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.499e-05/1.873, allocations: 22.31 kB / 0.5237 GB, free: 9.184 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.742e-05/1.873, allocations: 32 kB / 0.5237 GB, free: 9.152 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000959/1.874, allocations: 487.5 kB / 0.5242 GB, free: 8.652 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/1.874, allocations: 0 / 0.5242 GB, free: 8.652 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/1.874, allocations: 12.66 kB / 0.5242 GB, free: 8.641 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/1.874, allocations: 12.73 kB / 0.5242 GB, free: 8.629 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/1.875, allocations: 497.6 kB / 0.5247 GB, free: 8.145 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002297/1.878, allocations: 1.471 MB / 0.5261 GB, free: 6.629 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/1.879, allocations: 0.5046 MB / 0.5266 GB, free: 6.117 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004451/1.879, allocations: 199 kB / 0.5268 GB, free: 5.922 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08508/1.964, allocations: 22.61 MB / 0.5489 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/1.964, allocations: 30.56 kB / 0.5489 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.535e-06/1.964, allocations: 0 / 0.5489 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.003472/1.968, allocations: 0.9755 MB / 0.5499 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/1.968, allocations: 55.34 kB / 0.5499 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000982/1.969, allocations: 0.7744 MB / 0.5507 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/1.969, allocations: 29.7 kB / 0.5507 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/1.969, allocations: 376.2 kB / 0.5511 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/1.969, allocations: 115 kB / 0.5512 GB, free: 13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/1.969, allocations: 81.95 kB / 0.5513 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001617/1.97, allocations: 330.6 kB / 0.5516 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/1.97, allocations: 212.7 kB / 0.5518 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005169/1.971, allocations: 260.7 kB / 0.552 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009816/1.972, allocations: 471 kB / 0.5525 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/1.972, allocations: 4 kB / 0.5525 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001415/1.973, allocations: 0.6733 MB / 0.5531 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.973, allocations: 8 kB / 0.5532 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.495e-06/1.973, allocations: 0.5625 kB / 0.5532 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004377/1.977, allocations: 0.6419 MB / 0.5538 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/1.978, allocations: 57.16 kB / 0.5538 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/1.979, allocations: 0.783 MB / 0.5546 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/1.979, allocations: 51.7 kB / 0.5547 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/1.979, allocations: 12.78 kB / 0.5547 GB, free: 9.367 MB / 0.4981 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.0003257/1.979, allocations: 242.8 kB / 0.5549 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/1.98, allocations: 84.67 kB / 0.555 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/1.981, allocations: 0.7782 MB / 0.5557 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001226/1.983, allocations: 0.5945 MB / 0.5563 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/1.983, allocations: 0.9375 kB / 0.5563 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/1.983, allocations: 7.984 kB / 0.5563 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/1.985, allocations: 1.314 MB / 0.5576 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/1.985, allocations: 0 / 0.5576 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/1.985, allocations: 59.89 kB / 0.5577 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002144/1.987, allocations: 392.9 kB / 0.558 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/1.987, allocations: 8 kB / 0.558 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/1.988, allocations: 0.8105 MB / 0.5588 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.988, allocations: 0 / 0.5588 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/1.99, allocations: 0.7603 MB / 0.5596 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/1.99, allocations: 103.3 kB / 0.5597 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.207e-05/1.99, allocations: 12.75 kB / 0.5597 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/1.99, allocations: 20.59 kB / 0.5597 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.611e-05/1.991, allocations: 27.89 kB / 0.5597 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/1.991, allocations: 12 kB / 0.5598 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007044/1.991, allocations: 0.5419 MB / 0.5603 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/1.991, allocations: 0 / 0.5603 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002885/1.994, allocations: 1.165 MB / 0.5614 GB, free: 2.348 MB / 0.4981 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.00486/1.999, allocations: 1.789 MB / 0.5632 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001483/2, allocations: 0.5706 MB / 0.5637 GB, free: 0 / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/2, allocations: 0 / 0.5637 GB, free: 0 / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007953/2.001, allocations: 306.9 kB / 0.564 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006519/2.002, allocations: 89.95 kB / 0.5641 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/2.004, allocations: 1.428 MB / 0.5655 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/2.005, allocations: 381.4 kB / 0.5659 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001582/2.005, allocations: 42.23 kB / 0.5659 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.933e-05/2.005, allocations: 32.48 kB / 0.5659 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of SimCode: time 6.52e-07/2.005, allocations: 0 / 0.5659 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.0625/2.068, allocations: 40.52 MB / 0.6055 GB, free: 5.359 MB / 0.545 GB " [Timeout remaining time 658] 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.011374901980162] Failed to read output from testmodel.py, exit status != 0: 2.2234025560319424 2.238657673 0.367623089 Calling exit ...