Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.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.5017/0.5017, allocations: 111.6 MB / 131.7 MB, free: 5.066 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.TestCentrifugalPump8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 176.5 MB, free: 9.41 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.527e-05, allocations: 2.312 kB / 176.5 MB, free: 9.406 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.TestCentrifugalPump8): time 1.018/1.018, allocations: 257.1 MB / 433.6 MB, free: 15.97 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02402/1.042, allocations: 29.88 MB / 463.5 MB, free: 1.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/1.042, allocations: 4 kB / 463.5 MB, free: 1.977 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/SourceAngularVelocity.mo:6:3-7: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.0003148/1.042, allocations: 119.2 kB / 463.6 MB, free: 1.859 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/1.042, allocations: 117.1 kB / 463.7 MB, free: 1.742 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.0136/1.056, allocations: 8.685 MB / 472.4 MB, free: 9.023 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003821/1.056, allocations: 462.1 kB / 472.9 MB, free: 8.57 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/1.057, allocations: 181.6 kB / 473.1 MB, free: 8.395 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/1.057, allocations: 283.2 kB / 473.3 MB, free: 8.117 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/1.057, allocations: 131.7 kB / 473.5 MB, free: 7.988 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/1.057, allocations: 31.94 kB / 473.5 MB, free: 7.957 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01493/1.072, allocations: 14.29 MB / 487.8 MB, free: 9.652 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/1.072, allocations: 191.4 kB / 488 MB, free: 9.465 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/1.072, allocations: 159.3 kB / 488.1 MB, free: 9.309 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1778/1.25, allocations: 9.868 MB / 498 MB, free: 23.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.25, allocations: 0 / 498 MB, free: 23.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.563e-06/1.25, allocations: 0 / 498 MB, free: 23.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/1.25, allocations: 1.641 kB / 498 MB, free: 23.2 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003285/1.253, allocations: 1.931 MB / 499.9 MB, free: 22.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/1.253, allocations: 14.2 kB / 499.9 MB, free: 22.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/1.253, allocations: 115.8 kB / 0.4883 GB, free: 22.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/1.254, allocations: 380.5 kB / 0.4887 GB, free: 21.78 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/1.254, allocations: 28.12 kB / 0.4887 GB, free: 21.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/1.254, allocations: 32.28 kB / 0.4887 GB, free: 21.78 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/1.254, allocations: 0.5118 MB / 0.4892 GB, free: 21.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/1.254, allocations: 4.125 kB / 0.4892 GB, free: 21.6 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/1.254, allocations: 15.22 kB / 0.4893 GB, free: 21.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/1.254, allocations: 9.938 kB / 0.4893 GB, free: 21.6 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/1.255, allocations: 453.6 kB / 0.4897 GB, free: 21.6 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/1.256, allocations: 2.444 MB / 0.4921 GB, free: 20 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000729/1.257, allocations: 0.6512 MB / 0.4927 GB, free: 19.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/1.257, allocations: 213.8 kB / 0.4929 GB, free: 19.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.036/1.293, allocations: 22.68 MB / 0.5151 GB, free: 15.35 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/1.293, allocations: 48.66 kB / 0.5151 GB, free: 15.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.284e-06/1.293, allocations: 0 / 0.5151 GB, free: 15.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001843/1.295, allocations: 1.197 MB / 0.5163 GB, free: 14.44 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.036e-05/1.295, allocations: 55.41 kB / 0.5164 GB, free: 14.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/1.295, allocations: 0.6947 MB / 0.517 GB, free: 13.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/1.295, allocations: 33.64 kB / 0.5171 GB, free: 13.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/1.296, allocations: 418 kB / 0.5175 GB, free: 13.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.086e-05/1.296, allocations: 138.9 kB / 0.5176 GB, free: 13.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.796e-05/1.296, allocations: 76.16 kB / 0.5177 GB, free: 13.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.122e-05/1.296, allocations: 496 kB / 0.5181 GB, free: 13.01 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/1.296, allocations: 194.5 kB / 0.5183 GB, free: 12.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/1.296, allocations: 263.6 kB / 0.5186 GB, free: 12.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/1.296, allocations: 469.6 kB / 0.519 GB, free: 12.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.296, allocations: 4 kB / 0.519 GB, free: 12.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000547/1.297, allocations: 0.7242 MB / 0.5197 GB, free: 11.76 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.297, allocations: 4 kB / 0.5197 GB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.297, allocations: 8 kB / 0.5197 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001989/1.299, allocations: 0.7396 MB / 0.5205 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/1.299, allocations: 43.12 kB / 0.5205 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006417/1.3, allocations: 1.406 MB / 0.5219 GB, free: 9.973 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/1.3, allocations: 31.22 kB / 0.5219 GB, free: 9.945 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/1.3, allocations: 13.7 kB / 0.5219 GB, free: 9.938 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 (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 (18): * Single equations (assignments): 17 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001051/1.3, allocations: 168.5 kB / 0.5221 GB, free: 9.773 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/1.3, allocations: 94.94 kB / 0.5222 GB, free: 9.684 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006403/1.301, allocations: 0.7989 MB / 0.523 GB, free: 9.039 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004666/1.301, allocations: 0.6632 MB / 0.5236 GB, free: 8.473 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.301, allocations: 0 / 0.5236 GB, free: 8.473 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/1.301, allocations: 3.984 kB / 0.5236 GB, free: 8.469 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/1.302, allocations: 1.612 MB / 0.5252 GB, free: 7.137 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.302, allocations: 0 / 0.5252 GB, free: 7.137 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.737e-05/1.302, allocations: 44.02 kB / 0.5252 GB, free: 7.098 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009383/1.303, allocations: 496.9 kB / 0.5257 GB, free: 6.652 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/1.303, allocations: 9.25 kB / 0.5257 GB, free: 6.648 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005468/1.304, allocations: 1.415 MB / 0.5271 GB, free: 5.371 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.304, allocations: 0 / 0.5271 GB, free: 5.371 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005708/1.304, allocations: 0.9117 MB / 0.528 GB, free: 4.555 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.502e-05/1.305, allocations: 98.78 kB / 0.5281 GB, free: 4.469 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/1.305, allocations: 19.58 kB / 0.5281 GB, free: 4.457 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.876e-05/1.305, allocations: 13.38 kB / 0.5281 GB, free: 4.449 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/1.305, allocations: 23.52 kB / 0.5281 GB, free: 4.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/1.305, allocations: 13.73 kB / 0.5281 GB, free: 4.418 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002221/1.305, allocations: 428 kB / 0.5285 GB, free: 4.074 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/1.305, allocations: 0 / 0.5285 GB, free: 4.074 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001679/1.307, allocations: 1.169 MB / 0.5297 GB, free: 2.98 MB / 442.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 (22): * Single equations (assignments): 21 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0026/1.309, allocations: 1.782 MB / 0.5314 GB, free: 1.477 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005754/1.31, allocations: 0.5752 MB / 0.532 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/1.31, allocations: 0 / 0.532 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002817/1.31, allocations: 343.5 kB / 0.5323 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/1.31, allocations: 87.86 kB / 0.5324 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/1.312, allocations: 1.43 MB / 0.5338 GB, free: 15.16 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/1.312, allocations: 194.3 kB / 0.534 GB, free: 14.95 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.088e-05/1.312, allocations: 19.8 kB / 0.534 GB, free: 14.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/1.312, allocations: 20.5 kB / 0.534 GB, free: 14.91 MB / 458.7 MB Notification: Performance of SimCode: time 1.032e-06/1.312, allocations: 0 / 0.534 GB, free: 14.91 MB / 458.7 MB Notification: Performance of Templates: time 0.03809/1.35, allocations: 41.28 MB / 0.5743 GB, free: 5.812 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.687766079092398]