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.4965/0.4965, allocations: 111.6 MB / 131.4 MB, free: 4.914 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 3.286e-06/3.286e-06, allocations: 3.984 kB / 176.5 MB, free: 8.977 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.665e-05, allocations: 6.312 kB / 176.5 MB, free: 8.969 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.051/1.051, allocations: 257.1 MB / 433.7 MB, free: 224 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02514/1.076, allocations: 29.43 MB / 463.1 MB, free: 2.676 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/1.077, allocations: 0 / 463.1 MB, free: 2.676 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.0003949/1.077, allocations: 103.3 kB / 463.2 MB, free: 2.574 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002372/1.077, allocations: 133 kB / 463.3 MB, free: 2.441 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.01834/1.096, allocations: 8.677 MB / 472 MB, free: 9.734 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005128/1.096, allocations: 442.1 kB / 472.4 MB, free: 9.301 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/1.096, allocations: 157 kB / 472.6 MB, free: 9.145 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/1.097, allocations: 271.3 kB / 472.9 MB, free: 8.879 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/1.097, allocations: 123.7 kB / 473 MB, free: 8.758 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/1.097, allocations: 28 kB / 473 MB, free: 8.73 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1969/1.294, allocations: 14.28 MB / 487.3 MB, free: 10.97 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000234/1.294, allocations: 189.7 kB / 487.5 MB, free: 10.97 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002466/1.294, allocations: 148.6 kB / 487.6 MB, free: 10.97 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01944/1.314, allocations: 9.866 MB / 497.5 MB, free: 10.69 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/1.314, allocations: 0 / 497.5 MB, free: 10.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.884e-06/1.314, allocations: 0 / 497.5 MB, free: 10.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.907e-05/1.314, allocations: 1.344 kB / 497.5 MB, free: 10.69 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.004394/1.318, allocations: 1.907 MB / 499.4 MB, free: 9.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/1.318, allocations: 13.86 kB / 499.4 MB, free: 9.516 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.989e-05/1.318, allocations: 123.6 kB / 499.5 MB, free: 9.465 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/1.318, allocations: 366.9 kB / 499.9 MB, free: 9.211 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/1.318, allocations: 25.41 kB / 499.9 MB, free: 9.211 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/1.318, allocations: 30.31 kB / 499.9 MB, free: 9.211 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/1.319, allocations: 428.7 kB / 0.4886 GB, free: 9.027 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.319, allocations: 0.7969 kB / 0.4886 GB, free: 9.027 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/1.319, allocations: 11.06 kB / 0.4886 GB, free: 9.027 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/1.319, allocations: 15.86 kB / 0.4887 GB, free: 9.027 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/1.319, allocations: 281.7 kB / 0.4889 GB, free: 9.023 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/1.32, allocations: 2.319 MB / 0.4912 GB, free: 7.445 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/1.321, allocations: 433.9 kB / 0.4916 GB, free: 7.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.943e-05/1.321, allocations: 129.7 kB / 0.4917 GB, free: 7.398 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03129/1.352, allocations: 19.94 MB / 0.5112 GB, free: 9.938 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/1.352, allocations: 37.62 kB / 0.5112 GB, free: 9.891 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 2.324e-06/1.352, allocations: 0 / 0.5112 GB, free: 9.891 MB / 442.7 MB Notification: Performance of matching and sorting (n=37): time 0.002067/1.354, allocations: 1.133 MB / 0.5123 GB, free: 8.762 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/1.354, allocations: 56.34 kB / 0.5124 GB, free: 8.695 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004727/1.355, allocations: 0.6814 MB / 0.5131 GB, free: 8.102 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/1.355, allocations: 29.7 kB / 0.5131 GB, free: 8.066 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/1.355, allocations: 438 kB / 0.5135 GB, free: 7.664 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.451e-05/1.355, allocations: 129.5 kB / 0.5136 GB, free: 7.543 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.19e-05/1.355, allocations: 81.77 kB / 0.5137 GB, free: 7.465 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/1.355, allocations: 499.5 kB / 0.5142 GB, free: 6.977 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.031e-05/1.355, allocations: 115.9 kB / 0.5143 GB, free: 6.863 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/1.355, allocations: 171.5 kB / 0.5145 GB, free: 6.676 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/1.356, allocations: 313.1 kB / 0.5148 GB, free: 6.359 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.356, allocations: 4.625 kB / 0.5148 GB, free: 6.355 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004555/1.356, allocations: 0.5512 MB / 0.5153 GB, free: 5.809 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/1.356, allocations: 8.031 kB / 0.5153 GB, free: 5.801 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/1.356, allocations: 4 kB / 0.5153 GB, free: 5.797 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001962/1.358, allocations: 0.8333 MB / 0.5161 GB, free: 4.969 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.641e-05/1.358, allocations: 15.45 kB / 0.5161 GB, free: 4.957 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/1.359, allocations: 1.669 MB / 0.5178 GB, free: 3.301 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/1.359, allocations: 27.84 kB / 0.5178 GB, free: 3.273 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/1.359, allocations: 4 kB / 0.5178 GB, free: 3.27 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.0001336/1.36, allocations: 176.8 kB / 0.518 GB, free: 3.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/1.36, allocations: 83.48 kB / 0.518 GB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006155/1.36, allocations: 0.6496 MB / 0.5187 GB, free: 2.355 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000411/1.361, allocations: 0.5092 MB / 0.5192 GB, free: 1.848 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/1.361, allocations: 4 kB / 0.5192 GB, free: 1.844 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.361, allocations: 0 / 0.5192 GB, free: 1.844 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/1.362, allocations: 1.458 MB / 0.5206 GB, free: 440 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.362, allocations: 0 / 0.5206 GB, free: 440 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/1.362, allocations: 23.08 kB / 0.5206 GB, free: 420 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/1.363, allocations: 0.553 MB / 0.5212 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/1.363, allocations: 8 kB / 0.5212 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008525/1.364, allocations: 1.672 MB / 0.5228 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/1.364, allocations: 0 / 0.5228 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000582/1.364, allocations: 0.7756 MB / 0.5236 GB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/1.364, allocations: 99.31 kB / 0.5237 GB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/1.364, allocations: 4 kB / 0.5237 GB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.112e-05/1.365, allocations: 8 kB / 0.5237 GB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/1.365, allocations: 23.95 kB / 0.5237 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/1.365, allocations: 15.88 kB / 0.5237 GB, free: 13.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004684/1.365, allocations: 406 kB / 0.5241 GB, free: 12.92 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/1.365, allocations: 0 / 0.5241 GB, free: 12.92 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002836/1.368, allocations: 1.161 MB / 0.5252 GB, free: 11.75 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.003762/1.372, allocations: 1.844 MB / 0.527 GB, free: 10.12 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005987/1.372, allocations: 449.4 kB / 0.5275 GB, free: 9.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.372, allocations: 0 / 0.5275 GB, free: 9.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002827/1.373, allocations: 272.1 kB / 0.5277 GB, free: 9.418 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/1.373, allocations: 95.17 kB / 0.5278 GB, free: 9.332 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/1.375, allocations: 1.296 MB / 0.5291 GB, free: 8.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/1.375, allocations: 184.8 kB / 0.5293 GB, free: 7.82 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.899e-05/1.375, allocations: 18.3 kB / 0.5293 GB, free: 7.801 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.15e-05/1.375, allocations: 114.2 kB / 0.5294 GB, free: 7.688 MB / 458.7 MB Notification: Performance of SimCode: time 8.82e-07/1.375, allocations: 0 / 0.5294 GB, free: 7.688 MB / 458.7 MB Notification: Performance of Templates: time 0.04769/1.423, allocations: 47.75 MB / 0.576 GB, free: 8.156 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: 4.75860211905092]