Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.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 1.094/1.094, allocations: 153.8 MB / 172.7 MB, free: 4.848 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.TestCentrifugalPump9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005644/0.0005644, allocations: 15.97 kB / 250.3 MB, free: 3.902 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1569, allocations: 33.36 MB / 283.7 MB, free: 2.055 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.TestCentrifugalPump9): time 1.876/2.033, allocations: 307.6 MB / 0.5774 GB, free: 17.52 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02837/2.061, allocations: 27.72 MB / 0.6045 GB, free: 4.746 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/2.062, allocations: 2.281 kB / 0.6045 GB, free: 4.746 MB / 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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/ElectroMechanics/BoundaryConditions/SourceMechanicalPower.mo:5:3-9:24:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003862/2.062, allocations: 100.5 kB / 0.6046 GB, free: 4.703 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/2.062, allocations: 112.2 kB / 0.6047 GB, free: 4.637 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.02095/2.083, allocations: 8.586 MB / 0.6131 GB, free: 268 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006246/2.084, allocations: 423.3 kB / 0.6135 GB, free: 12 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002877/2.084, allocations: 151.6 kB / 0.6136 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003381/2.084, allocations: 189.2 kB / 0.6138 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/2.085, allocations: 151.5 kB / 0.614 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.08e-05/2.085, allocations: 28.62 kB / 0.614 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02941/2.114, allocations: 14.27 MB / 0.6279 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002419/2.114, allocations: 183.3 kB / 0.6281 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000292/2.115, allocations: 214.4 kB / 0.6283 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01719/2.132, allocations: 7.962 MB / 0.6361 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/2.132, allocations: 4 kB / 0.6361 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/2.132, allocations: 0 / 0.6361 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.318e-06/2.132, allocations: 0 / 0.6361 GB, free: 9.293 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.004212/2.136, allocations: 1.799 MB / 0.6379 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/2.136, allocations: 11.97 kB / 0.6379 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/2.136, allocations: 91.39 kB / 0.638 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004835/2.137, allocations: 378.4 kB / 0.6383 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/2.137, allocations: 28.59 kB / 0.6383 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/2.137, allocations: 28 kB / 0.6384 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008914/2.138, allocations: 0.5498 MB / 0.6389 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/2.138, allocations: 4.812 kB / 0.6389 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.213e-05/2.138, allocations: 20 kB / 0.6389 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/2.138, allocations: 8 kB / 0.6389 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009514/2.139, allocations: 0.5803 MB / 0.6395 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/2.141, allocations: 1.94 MB / 0.6414 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/2.142, allocations: 0.7559 MB / 0.6421 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004274/2.143, allocations: 261 kB / 0.6424 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0828/2.226, allocations: 22.6 MB / 0.6645 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/2.226, allocations: 42.73 kB / 0.6645 GB, free: 12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=37): time 2.655e-06/2.226, allocations: 4 kB / 0.6645 GB, free: 12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37): time 0.005671/2.231, allocations: 1.734 MB / 0.6662 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/2.231, allocations: 55.88 kB / 0.6663 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008639/2.232, allocations: 0.7039 MB / 0.6669 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/2.232, allocations: 37.69 kB / 0.667 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003198/2.233, allocations: 357.7 kB / 0.6673 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/2.233, allocations: 122.9 kB / 0.6674 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/2.233, allocations: 69.64 kB / 0.6675 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001483/2.233, allocations: 314 kB / 0.6678 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/2.233, allocations: 253 kB / 0.668 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000449/2.234, allocations: 305.6 kB / 0.6683 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008598/2.235, allocations: 0.5484 MB / 0.6689 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/2.235, allocations: 0 / 0.6689 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001495/2.236, allocations: 0.9153 MB / 0.6698 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/2.236, allocations: 8 kB / 0.6698 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/2.236, allocations: 1.906 kB / 0.6698 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00502/2.241, allocations: 1.011 MB / 0.6708 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.647e-05/2.241, allocations: 15.94 kB / 0.6708 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/2.243, allocations: 1.778 MB / 0.6725 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/2.244, allocations: 35.83 kB / 0.6725 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/2.244, allocations: 15.94 kB / 0.6726 GB, free: 3.633 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 (sink.C.a,sourcePQ.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 (11): * Single equations (assignments): 10 * 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 {(5,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003191/2.244, allocations: 248.1 kB / 0.6728 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/2.244, allocations: 75.48 kB / 0.6729 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/2.246, allocations: 1.095 MB / 0.6739 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00155/2.248, allocations: 0.9226 MB / 0.6748 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/2.248, allocations: 0 / 0.6748 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/2.248, allocations: 0.875 kB / 0.6748 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/2.251, allocations: 1.944 MB / 0.6767 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/2.251, allocations: 0.7031 kB / 0.6767 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.519e-05/2.251, allocations: 20.75 kB / 0.6768 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002745/2.254, allocations: 0.7415 MB / 0.6775 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/2.254, allocations: 8 kB / 0.6775 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/2.256, allocations: 1.814 MB / 0.6793 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/2.256, allocations: 0 / 0.6793 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/2.258, allocations: 1.118 MB / 0.6804 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/2.258, allocations: 95.33 kB / 0.6804 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.591e-05/2.258, allocations: 11.98 kB / 0.6805 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/2.258, allocations: 12.66 kB / 0.6805 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/2.258, allocations: 23.95 kB / 0.6805 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/2.258, allocations: 15.98 kB / 0.6805 GB, free: 11.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000606/2.259, allocations: 0.4989 MB / 0.681 GB, free: 10.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/2.259, allocations: 0 / 0.681 GB, free: 10.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002823/2.262, allocations: 1.165 MB / 0.6821 GB, free: 9.723 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 (15): * Single equations (assignments): 14 * 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 {(5,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004367/2.266, allocations: 1.621 MB / 0.6837 GB, free: 8.117 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001483/2.267, allocations: 0.6901 MB / 0.6844 GB, free: 7.422 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/2.268, allocations: 8.062 kB / 0.6844 GB, free: 7.414 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008231/2.268, allocations: 395.6 kB / 0.6848 GB, free: 7.027 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006262/2.269, allocations: 84.56 kB / 0.6849 GB, free: 6.953 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/2.272, allocations: 1.545 MB / 0.6864 GB, free: 5.387 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/2.272, allocations: 380.9 kB / 0.6867 GB, free: 4.988 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.9e-05/2.272, allocations: 17.06 kB / 0.6867 GB, free: 4.977 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/2.272, allocations: 19.44 kB / 0.6868 GB, free: 4.961 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/2.272, allocations: 0 / 0.6868 GB, free: 4.961 MB / 0.545 GB Notification: Performance of Templates: time 0.06063/2.333, allocations: 41.16 MB / 0.7269 GB, free: 12.24 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.328292481601238] Failed to read output from testmodel.py, exit status != 0: 2.4936386607587337 2.508534795 0.37356782000000005 Calling exit ...