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.8688/0.8688, allocations: 153.8 MB / 173.4 MB, free: 4.898 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.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.0006906/0.0006906, allocations: 19.97 kB / 251 MB, free: 3.887 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1956, allocations: 33.36 MB / 284.4 MB, free: 2.078 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.TestStaticCentrifugalPump1): time 1.906/2.102, allocations: 307.6 MB / 0.5782 GB, free: 17.34 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03208/2.134, allocations: 30.53 MB / 0.608 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002406/2.134, allocations: 2.094 kB / 0.608 GB, free: 2.656 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.0003631/2.134, allocations: 111 kB / 0.6081 GB, free: 2.609 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/2.134, allocations: 126.7 kB / 0.6082 GB, free: 2.52 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.02524/2.16, allocations: 9.693 MB / 0.6177 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000688/2.16, allocations: 410.2 kB / 0.6181 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002232/2.161, allocations: 109.5 kB / 0.6182 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003062/2.161, allocations: 167.3 kB / 0.6183 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/2.161, allocations: 135.3 kB / 0.6185 GB, free: 11.83 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/2.161, allocations: 20 kB / 0.6185 GB, free: 11.81 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03294/2.194, allocations: 16.75 MB / 0.6348 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.879e-05/2.194, allocations: 55.78 kB / 0.6349 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001993/2.194, allocations: 124.2 kB / 0.635 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01941/2.214, allocations: 8.485 MB / 0.6433 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/2.214, allocations: 0 / 0.6433 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/2.214, allocations: 0 / 0.6433 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.614e-06/2.214, allocations: 0 / 0.6433 GB, free: 2.371 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.003986/2.218, allocations: 1.466 MB / 0.6447 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/2.218, allocations: 12.03 kB / 0.6447 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.151e-05/2.218, allocations: 35.77 kB / 0.6448 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/2.218, allocations: 189.8 kB / 0.645 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/2.218, allocations: 20.44 kB / 0.645 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/2.218, allocations: 20 kB / 0.645 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/2.219, allocations: 339.8 kB / 0.6453 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/2.219, allocations: 1.875 kB / 0.6453 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/2.219, allocations: 12 kB / 0.6453 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/2.219, allocations: 12.55 kB / 0.6454 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004394/2.219, allocations: 228.9 kB / 0.6456 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03782/2.257, allocations: 10.83 MB / 0.6562 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/2.258, allocations: 179.1 kB / 0.6563 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/2.258, allocations: 98.14 kB / 0.6564 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1573/2.415, allocations: 43.58 MB / 0.699 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/2.415, allocations: 44.41 kB / 0.699 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 2.204e-06/2.415, allocations: 0 / 0.699 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41): time 0.004252/2.419, allocations: 0.8536 MB / 0.6999 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/2.419, allocations: 55.41 kB / 0.6999 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/2.42, allocations: 207.7 kB / 0.7001 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/2.42, allocations: 29.7 kB / 0.7001 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/2.42, allocations: 164.6 kB / 0.7003 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/2.42, allocations: 139.4 kB / 0.7004 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.4e-05/2.42, allocations: 57.69 kB / 0.7005 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001593/2.42, allocations: 334.8 kB / 0.7008 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/2.42, allocations: 100.4 kB / 0.7009 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/2.421, allocations: 146.9 kB / 0.701 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/2.421, allocations: 285.4 kB / 0.7013 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/2.421, allocations: 0 / 0.7013 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002376/2.423, allocations: 0.5913 MB / 0.7019 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/2.423, allocations: 8 kB / 0.7019 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/2.423, allocations: 0 / 0.7019 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008202/2.424, allocations: 231.6 kB / 0.7021 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.752e-05/2.424, allocations: 15.98 kB / 0.7021 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009252/2.425, allocations: 0.7403 MB / 0.7028 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/2.425, allocations: 28.67 kB / 0.7029 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/2.425, allocations: 12 kB / 0.7029 GB, free: 5.035 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.0001564/2.426, allocations: 142.5 kB / 0.703 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/2.426, allocations: 27.89 kB / 0.703 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/2.427, allocations: 0.7688 MB / 0.7038 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005343/2.427, allocations: 296 kB / 0.7041 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/2.427, allocations: 0.5156 kB / 0.7041 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/2.427, allocations: 4 kB / 0.7041 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/2.429, allocations: 0.7626 MB / 0.7048 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/2.429, allocations: 3.938 kB / 0.7048 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.575e-05/2.429, allocations: 19.98 kB / 0.7049 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006825/2.429, allocations: 195.8 kB / 0.705 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/2.429, allocations: 8.859 kB / 0.705 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008782/2.43, allocations: 0.7576 MB / 0.7058 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/2.43, allocations: 7.938 kB / 0.7058 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006538/2.431, allocations: 412 kB / 0.7062 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.294e-05/2.431, allocations: 39.78 kB / 0.7062 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/2.431, allocations: 15.88 kB / 0.7062 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/2.431, allocations: 4 kB / 0.7062 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/2.431, allocations: 16.84 kB / 0.7063 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/2.431, allocations: 4 kB / 0.7063 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000244/2.431, allocations: 221.2 kB / 0.7065 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/2.431, allocations: 0 / 0.7065 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002961/2.434, allocations: 1.224 MB / 0.7077 GB, free: 15.96 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.004598/2.439, allocations: 1.734 MB / 0.7094 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007946/2.44, allocations: 302.4 kB / 0.7097 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/2.44, allocations: 0 / 0.7097 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003632/2.44, allocations: 139.7 kB / 0.7098 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007468/2.441, allocations: 120.1 kB / 0.7099 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/2.442, allocations: 0.6368 MB / 0.7105 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/2.442, allocations: 176.8 kB / 0.7107 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/2.442, allocations: 19.44 kB / 0.7107 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/2.442, allocations: 0 / 0.7107 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of Templates: time 0.03889/2.481, allocations: 25.32 MB / 0.7354 GB, free: 3.91 MB / 0.5919 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.732094511855394] Failed to read output from testmodel.py, exit status != 0: 2.66509677330032 2.928960481 0.461622793 Calling exit ...