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.8589/0.8589, allocations: 153.8 MB / 173.4 MB, free: 4.945 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.0005186/0.0005186, allocations: 15.97 kB / 251.1 MB, free: 3.953 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1643, allocations: 33.36 MB / 284.5 MB, free: 2.148 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.852/2.016, allocations: 307.6 MB / 0.5782 GB, free: 16.07 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02841/2.044, allocations: 31.52 MB / 0.609 GB, free: 428 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003385/2.045, allocations: 3.438 kB / 0.609 GB, free: 428 kB / 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.0004245/2.045, allocations: 132.2 kB / 0.6091 GB, free: 360 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/2.045, allocations: 118.8 kB / 0.6092 GB, free: 288 kB / 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.02327/2.069, allocations: 8.69 MB / 0.6177 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006875/2.069, allocations: 446.2 kB / 0.6181 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002556/2.07, allocations: 157.1 kB / 0.6183 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003415/2.07, allocations: 202.6 kB / 0.6185 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/2.07, allocations: 187.3 kB / 0.6186 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.648e-05/2.07, allocations: 31.78 kB / 0.6187 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02961/2.1, allocations: 15.19 MB / 0.6335 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002429/2.1, allocations: 195.3 kB / 0.6337 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003348/2.1, allocations: 289.9 kB / 0.634 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01789/2.118, allocations: 7.97 MB / 0.6417 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/2.118, allocations: 0 / 0.6417 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.213e-06/2.118, allocations: 0.8438 kB / 0.6418 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.863e-05/2.118, allocations: 0 / 0.6418 GB, free: 4.02 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.004831/2.123, allocations: 1.865 MB / 0.6436 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/2.123, allocations: 8.031 kB / 0.6436 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/2.123, allocations: 91.39 kB / 0.6437 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/2.124, allocations: 369.5 kB / 0.644 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/2.124, allocations: 24.59 kB / 0.644 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/2.124, allocations: 32 kB / 0.6441 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008599/2.125, allocations: 483.9 kB / 0.6445 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/2.125, allocations: 0 / 0.6445 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/2.125, allocations: 12 kB / 0.6445 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/2.125, allocations: 10.06 kB / 0.6446 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009618/2.126, allocations: 0.4905 MB / 0.645 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002424/2.128, allocations: 1.811 MB / 0.6468 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/2.129, allocations: 0.5073 MB / 0.6473 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004074/2.13, allocations: 200.7 kB / 0.6475 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07692/2.207, allocations: 22.52 MB / 0.6695 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/2.207, allocations: 38.56 kB / 0.6695 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.365e-06/2.207, allocations: 4 kB / 0.6695 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=34): time 0.003279/2.21, allocations: 0.9756 MB / 0.6705 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/2.21, allocations: 60.38 kB / 0.6705 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/2.211, allocations: 0.8295 MB / 0.6713 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/2.211, allocations: 29.7 kB / 0.6714 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/2.212, allocations: 400.5 kB / 0.6718 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/2.212, allocations: 123 kB / 0.6719 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/2.212, allocations: 77.95 kB / 0.6719 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001421/2.212, allocations: 322 kB / 0.6723 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/2.212, allocations: 208.6 kB / 0.6725 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004774/2.213, allocations: 265.3 kB / 0.6727 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008912/2.214, allocations: 472.9 kB / 0.6732 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/2.214, allocations: 4 kB / 0.6732 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001379/2.215, allocations: 0.6756 MB / 0.6738 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/2.215, allocations: 13.19 kB / 0.6738 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/2.215, allocations: 4 kB / 0.6738 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004224/2.219, allocations: 0.6458 MB / 0.6745 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/2.22, allocations: 55.89 kB / 0.6745 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/2.221, allocations: 0.7685 MB / 0.6753 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004524/2.221, allocations: 66.41 kB / 0.6753 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/2.221, allocations: 15.94 kB / 0.6753 GB, free: 1.262 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.0003329/2.222, allocations: 250.2 kB / 0.6756 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/2.222, allocations: 87.39 kB / 0.6757 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/2.223, allocations: 0.7894 MB / 0.6764 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001142/2.225, allocations: 0.5895 MB / 0.677 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/2.225, allocations: 0 / 0.677 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/2.225, allocations: 0.9375 kB / 0.677 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/2.227, allocations: 1.41 MB / 0.6784 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/2.227, allocations: 0.8125 kB / 0.6784 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/2.227, allocations: 55.89 kB / 0.6784 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002146/2.229, allocations: 393.4 kB / 0.6788 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/2.229, allocations: 8 kB / 0.6788 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009628/2.23, allocations: 0.8108 MB / 0.6796 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/2.23, allocations: 2.422 kB / 0.6796 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/2.232, allocations: 0.7668 MB / 0.6804 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/2.232, allocations: 111.9 kB / 0.6805 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.838e-05/2.232, allocations: 8 kB / 0.6805 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/2.232, allocations: 23.97 kB / 0.6805 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.08e-05/2.232, allocations: 27.83 kB / 0.6805 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/2.232, allocations: 12 kB / 0.6805 GB, free: 11.81 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000762/2.233, allocations: 0.5848 MB / 0.6811 GB, free: 11.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/2.233, allocations: 4 kB / 0.6811 GB, free: 11.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003078/2.236, allocations: 1.159 MB / 0.6823 GB, free: 10.07 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.005454/2.242, allocations: 1.63 MB / 0.6838 GB, free: 8.461 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001542/2.243, allocations: 0.5706 MB / 0.6844 GB, free: 7.883 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/2.243, allocations: 0 / 0.6844 GB, free: 7.883 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007404/2.244, allocations: 305.3 kB / 0.6847 GB, free: 7.586 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006708/2.245, allocations: 91.33 kB / 0.6848 GB, free: 7.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/2.247, allocations: 1.54 MB / 0.6863 GB, free: 5.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006916/2.248, allocations: 0.981 MB / 0.6872 GB, free: 4.926 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/2.248, allocations: 27.44 kB / 0.6873 GB, free: 4.898 MB / 0.545 GB Notification: Performance of SimCode: time 7.01e-07/2.248, allocations: 0 / 0.6873 GB, free: 4.898 MB / 0.545 GB Notification: Performance of Templates: time 0.04617/2.294, allocations: 28.33 MB / 0.7149 GB, free: 9.039 MB / 0.5762 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: 10.827158296015114] Failed to read output from testmodel.py, exit status != 0: 2.47254123701714 2.487676122 0.36603065300000004 Calling exit ...