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 0.4842/0.4842, allocations: 111.6 MB / 132.2 MB, free: 4.512 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/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 1.423e-06/1.423e-06, allocations: 0 / 177.3 MB, free: 8.91 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.067e-05, allocations: 4.562 kB / 177.3 MB, free: 8.906 MB / 170.7 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.041/1.041, allocations: 257.1 MB / 434.4 MB, free: 15.88 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02563/1.067, allocations: 29.42 MB / 463.9 MB, free: 2.336 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001952/1.067, allocations: 4 kB / 463.9 MB, free: 2.332 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:64:3-65:80: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:66:3-67:78: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:70:3-71:99: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:16:3-17:78: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:10:3-11:80: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-6:99: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.000354/1.067, allocations: 115.2 kB / 464 MB, free: 2.219 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002051/1.067, allocations: 125 kB / 464.1 MB, free: 2.094 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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.01631/1.084, allocations: 8.677 MB / 472.8 MB, free: 9.387 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004775/1.084, allocations: 438.1 kB / 473.2 MB, free: 8.957 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/1.084, allocations: 165 kB / 473.4 MB, free: 8.793 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003106/1.085, allocations: 263.3 kB / 473.6 MB, free: 8.535 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/1.085, allocations: 127.6 kB / 473.7 MB, free: 8.41 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/1.085, allocations: 28 kB / 473.8 MB, free: 8.383 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1889/1.274, allocations: 14.28 MB / 488.1 MB, free: 10.62 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/1.274, allocations: 189.4 kB / 488.2 MB, free: 10.62 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002043/1.274, allocations: 147.3 kB / 488.4 MB, free: 10.62 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01595/1.29, allocations: 9.866 MB / 498.3 MB, free: 10.33 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.29, allocations: 0 / 498.3 MB, free: 10.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.403e-06/1.29, allocations: 4.75 kB / 498.3 MB, free: 10.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/1.29, allocations: 0 / 498.3 MB, free: 10.33 MB / 426.7 MB 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.004207/1.294, allocations: 1.913 MB / 0.4884 GB, free: 9.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/1.294, allocations: 12.67 kB / 0.4885 GB, free: 9.156 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/1.294, allocations: 118 kB / 0.4886 GB, free: 9.105 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/1.295, allocations: 366 kB / 0.4889 GB, free: 8.852 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/1.295, allocations: 23.84 kB / 0.4889 GB, free: 8.852 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/1.295, allocations: 29.75 kB / 0.489 GB, free: 8.852 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/1.295, allocations: 423.3 kB / 0.4894 GB, free: 8.668 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/1.295, allocations: 0.7969 kB / 0.4894 GB, free: 8.668 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/1.295, allocations: 14.78 kB / 0.4894 GB, free: 8.668 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/1.295, allocations: 14.09 kB / 0.4894 GB, free: 8.668 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/1.295, allocations: 279 kB / 0.4897 GB, free: 8.664 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/1.297, allocations: 2.327 MB / 0.4919 GB, free: 7.086 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/1.297, allocations: 429.7 kB / 0.4924 GB, free: 7.051 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.636e-05/1.297, allocations: 137.2 kB / 0.4925 GB, free: 7.039 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03535/1.332, allocations: 19.76 MB / 0.5118 GB, free: 9.406 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/1.332, allocations: 37.62 kB / 0.5118 GB, free: 9.359 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 2.435e-06/1.332, allocations: 0 / 0.5118 GB, free: 9.359 MB / 442.7 MB Notification: Performance of matching and sorting (n=37): time 0.002329/1.335, allocations: 1.128 MB / 0.5129 GB, free: 8.238 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/1.335, allocations: 52.34 kB / 0.513 GB, free: 8.176 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004681/1.335, allocations: 0.6751 MB / 0.5136 GB, free: 7.586 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/1.335, allocations: 29.7 kB / 0.5136 GB, free: 7.551 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/1.336, allocations: 436.9 kB / 0.5141 GB, free: 7.148 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.251e-05/1.336, allocations: 133.1 kB / 0.5142 GB, free: 7.027 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/1.336, allocations: 75.5 kB / 0.5143 GB, free: 6.953 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/1.336, allocations: 0.4916 MB / 0.5147 GB, free: 6.461 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/1.336, allocations: 115.9 kB / 0.5149 GB, free: 6.348 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/1.336, allocations: 180.8 kB / 0.515 GB, free: 6.156 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/1.336, allocations: 305 kB / 0.5153 GB, free: 5.844 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.336, allocations: 0 / 0.5153 GB, free: 5.844 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005885/1.337, allocations: 0.5587 MB / 0.5159 GB, free: 5.289 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/1.337, allocations: 4 kB / 0.5159 GB, free: 5.285 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/1.337, allocations: 0 / 0.5159 GB, free: 5.285 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002133/1.339, allocations: 0.8398 MB / 0.5167 GB, free: 4.453 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.078e-05/1.339, allocations: 12.55 kB / 0.5167 GB, free: 4.441 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009471/1.34, allocations: 1.669 MB / 0.5183 GB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/1.34, allocations: 27.78 kB / 0.5184 GB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/1.34, allocations: 8 kB / 0.5184 GB, free: 2.75 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (centrifugalPump.C1.a,centrifugalPump.C2.b,sourcePQ.C.b,sink.C.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.0001257/1.34, allocations: 166.1 kB / 0.5185 GB, free: 2.578 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.754e-05/1.34, allocations: 91.48 kB / 0.5186 GB, free: 2.488 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006404/1.341, allocations: 0.6518 MB / 0.5192 GB, free: 1.836 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004239/1.341, allocations: 0.5014 MB / 0.5197 GB, free: 1.332 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/1.341, allocations: 3.984 kB / 0.5197 GB, free: 1.328 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.341, allocations: 4 kB / 0.5197 GB, free: 1.324 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/1.343, allocations: 1.457 MB / 0.5212 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.343, allocations: 0 / 0.5212 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.597e-05/1.343, allocations: 28.55 kB / 0.5212 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001101/1.344, allocations: 0.5577 MB / 0.5217 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/1.344, allocations: 8 kB / 0.5217 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/1.345, allocations: 1.661 MB / 0.5234 GB, free: 13.69 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/1.345, allocations: 1.578 kB / 0.5234 GB, free: 13.69 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006079/1.346, allocations: 0.775 MB / 0.5241 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-05/1.346, allocations: 103.3 kB / 0.5242 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/1.346, allocations: 4 kB / 0.5242 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.599e-05/1.346, allocations: 9.625 kB / 0.5242 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/1.346, allocations: 31.89 kB / 0.5243 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/1.346, allocations: 11.94 kB / 0.5243 GB, free: 12.75 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002064/1.346, allocations: 398.6 kB / 0.5247 GB, free: 12.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/1.346, allocations: 0 / 0.5247 GB, free: 12.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002908/1.349, allocations: 1.165 MB / 0.5258 GB, free: 11.23 MB / 458.7 MB 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.004291/1.353, allocations: 1.84 MB / 0.5276 GB, free: 9.613 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006279/1.354, allocations: 447.2 kB / 0.528 GB, free: 9.172 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.354, allocations: 0 / 0.528 GB, free: 9.172 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003061/1.354, allocations: 272.8 kB / 0.5283 GB, free: 8.914 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/1.355, allocations: 97.12 kB / 0.5284 GB, free: 8.828 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/1.356, allocations: 1.298 MB / 0.5296 GB, free: 7.516 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/1.356, allocations: 188.8 kB / 0.5298 GB, free: 7.312 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.412e-05/1.356, allocations: 15.75 kB / 0.5298 GB, free: 7.297 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.504e-05/1.356, allocations: 110.2 kB / 0.5299 GB, free: 7.188 MB / 458.7 MB Notification: Performance of SimCode: time 1.123e-06/1.356, allocations: 0 / 0.5299 GB, free: 7.188 MB / 458.7 MB Notification: Performance of Templates: time 0.04668/1.403, allocations: 47.7 MB / 0.5765 GB, free: 7.715 MB / 0.4948 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.4771398031152785]