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.4736/0.4736, allocations: 111.6 MB / 131.2 MB, free: 4.566 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.373e-06/1.373e-06, allocations: 0 / 176.2 MB, free: 9.156 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.546e-05, allocations: 2.312 kB / 176.2 MB, free: 9.152 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 0.9832/0.9832, allocations: 257.1 MB / 433.3 MB, free: 344 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02416/1.007, allocations: 29.97 MB / 463.3 MB, free: 2.246 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/1.007, allocations: 8 kB / 463.3 MB, free: 2.238 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.0002916/1.008, allocations: 103.3 kB / 463.4 MB, free: 2.137 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001514/1.008, allocations: 125.1 kB / 463.5 MB, free: 2.012 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.01346/1.021, allocations: 8.677 MB / 472.2 MB, free: 9.305 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003594/1.022, allocations: 438.2 kB / 472.6 MB, free: 8.875 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/1.022, allocations: 160.9 kB / 472.8 MB, free: 8.715 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002632/1.022, allocations: 267.3 kB / 473 MB, free: 8.453 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/1.022, allocations: 127.6 kB / 473.2 MB, free: 8.328 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.644e-05/1.022, allocations: 28 kB / 473.2 MB, free: 8.301 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1748/1.197, allocations: 14.28 MB / 487.5 MB, free: 10.42 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001686/1.197, allocations: 191.1 kB / 487.6 MB, free: 10.42 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/1.197, allocations: 150.5 kB / 487.8 MB, free: 10.42 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01089/1.208, allocations: 9.864 MB / 497.7 MB, free: 10.13 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.208, allocations: 3.625 kB / 497.7 MB, free: 10.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.353e-06/1.208, allocations: 0 / 497.7 MB, free: 10.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.852e-06/1.208, allocations: 0 / 497.7 MB, free: 10.13 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.002927/1.211, allocations: 1.903 MB / 499.6 MB, free: 8.957 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/1.211, allocations: 17.12 kB / 499.6 MB, free: 8.953 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.442e-05/1.211, allocations: 122 kB / 499.7 MB, free: 8.902 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/1.212, allocations: 361.8 kB / 0.4883 GB, free: 8.648 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/1.212, allocations: 26.03 kB / 0.4884 GB, free: 8.648 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/1.212, allocations: 30.5 kB / 0.4884 GB, free: 8.648 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004175/1.212, allocations: 0.5004 MB / 0.4889 GB, free: 8.469 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.212, allocations: 0 / 0.4889 GB, free: 8.469 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/1.212, allocations: 19.62 kB / 0.4889 GB, free: 8.469 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/1.212, allocations: 6.875 kB / 0.4889 GB, free: 8.469 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/1.212, allocations: 457.8 kB / 0.4893 GB, free: 8.465 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/1.213, allocations: 2.433 MB / 0.4917 GB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005478/1.214, allocations: 0.6427 MB / 0.4923 GB, free: 6.723 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/1.214, allocations: 219.3 kB / 0.4926 GB, free: 6.676 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03495/1.249, allocations: 22.69 MB / 0.5147 GB, free: 5.895 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/1.249, allocations: 37.62 kB / 0.5147 GB, free: 5.848 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 2.184e-06/1.249, allocations: 0 / 0.5147 GB, free: 5.848 MB / 442.7 MB Notification: Performance of matching and sorting (n=37): time 0.002529/1.252, allocations: 1.448 MB / 0.5162 GB, free: 4.402 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/1.252, allocations: 52.34 kB / 0.5162 GB, free: 4.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004766/1.252, allocations: 0.683 MB / 0.5169 GB, free: 3.641 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/1.252, allocations: 33.7 kB / 0.5169 GB, free: 3.602 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/1.252, allocations: 414.6 kB / 0.5173 GB, free: 3.191 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.455e-05/1.252, allocations: 137.5 kB / 0.5174 GB, free: 3.062 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.516e-05/1.253, allocations: 75.3 kB / 0.5175 GB, free: 2.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.948e-05/1.253, allocations: 496.4 kB / 0.518 GB, free: 2.488 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/1.253, allocations: 191.9 kB / 0.5182 GB, free: 2.301 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/1.253, allocations: 262 kB / 0.5184 GB, free: 2.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/1.253, allocations: 465.8 kB / 0.5189 GB, free: 1.543 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/1.253, allocations: 3.938 kB / 0.5189 GB, free: 1.539 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006204/1.254, allocations: 0.787 MB / 0.5196 GB, free: 0.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.254, allocations: 8 kB / 0.5196 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/1.254, allocations: 4.156 kB / 0.5196 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002264/1.256, allocations: 0.915 MB / 0.5205 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.851e-05/1.256, allocations: 11.98 kB / 0.5205 GB, free: 15.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/1.257, allocations: 1.886 MB / 0.5224 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.991e-05/1.258, allocations: 23.84 kB / 0.5224 GB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/1.258, allocations: 16 kB / 0.5224 GB, free: 13.86 MB / 458.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 (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.0001183/1.258, allocations: 176.4 kB / 0.5226 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.819e-05/1.258, allocations: 87.48 kB / 0.5227 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008194/1.259, allocations: 0.8871 MB / 0.5235 GB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006137/1.259, allocations: 0.7492 MB / 0.5243 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/1.259, allocations: 0.5625 kB / 0.5243 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.259, allocations: 0 / 0.5243 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/1.261, allocations: 1.811 MB / 0.526 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.261, allocations: 4 kB / 0.526 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.702e-05/1.261, allocations: 20.92 kB / 0.5261 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/1.262, allocations: 0.6364 MB / 0.5267 GB, free: 9.449 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/1.262, allocations: 15.98 kB / 0.5267 GB, free: 9.434 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009984/1.263, allocations: 1.88 MB / 0.5285 GB, free: 7.523 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.263, allocations: 0 / 0.5285 GB, free: 7.523 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009062/1.264, allocations: 1.02 MB / 0.5295 GB, free: 6.488 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.052e-05/1.264, allocations: 95.31 kB / 0.5296 GB, free: 6.395 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/1.264, allocations: 5.062 kB / 0.5296 GB, free: 6.391 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.18e-05/1.264, allocations: 15.94 kB / 0.5296 GB, free: 6.375 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/1.264, allocations: 19.95 kB / 0.5297 GB, free: 6.355 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/1.264, allocations: 12.62 kB / 0.5297 GB, free: 6.344 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002614/1.264, allocations: 422.9 kB / 0.5301 GB, free: 5.938 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.264, allocations: 0 / 0.5301 GB, free: 5.938 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001968/1.266, allocations: 1.165 MB / 0.5312 GB, free: 4.773 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.002893/1.269, allocations: 1.767 MB / 0.5329 GB, free: 3.227 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006652/1.27, allocations: 0.6046 MB / 0.5335 GB, free: 2.617 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/1.27, allocations: 0 / 0.5335 GB, free: 2.617 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003364/1.27, allocations: 348.8 kB / 0.5339 GB, free: 2.277 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/1.271, allocations: 88.55 kB / 0.534 GB, free: 2.195 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/1.272, allocations: 1.394 MB / 0.5353 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/1.272, allocations: 180.8 kB / 0.5355 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.642e-05/1.272, allocations: 16.73 kB / 0.5355 GB, free: 0.5742 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/1.272, allocations: 20.5 kB / 0.5355 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of SimCode: time 6.61e-07/1.272, allocations: 4 kB / 0.5355 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of Templates: time 0.04329/1.316, allocations: 50.47 MB / 0.5848 GB, free: 14.32 MB / 0.5105 GB " [Timeout remaining time 659] 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.179033343214542]