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.4871/0.4871, allocations: 111.6 MB / 132.2 MB, free: 4.422 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.422e-06/1.422e-06, allocations: 0 / 177.3 MB, free: 8.926 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.08e-05, allocations: 2.312 kB / 177.3 MB, free: 8.922 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.028/1.028, allocations: 257.2 MB / 434.5 MB, free: 156 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02323/1.051, allocations: 29.44 MB / 463.9 MB, free: 2.598 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.652e-05/1.051, allocations: 4 kB / 463.9 MB, free: 2.594 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.0002702/1.052, allocations: 115.2 kB / 464.1 MB, free: 2.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001488/1.052, allocations: 125.1 kB / 464.2 MB, free: 2.355 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.01217/1.064, allocations: 8.689 MB / 472.9 MB, free: 9.637 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003358/1.064, allocations: 454.1 kB / 473.3 MB, free: 9.191 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/1.065, allocations: 177.7 kB / 473.5 MB, free: 9.02 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/1.065, allocations: 283.2 kB / 473.8 MB, free: 8.742 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/1.065, allocations: 131.7 kB / 473.9 MB, free: 8.613 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/1.065, allocations: 28 kB / 473.9 MB, free: 8.586 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1726/1.238, allocations: 14.28 MB / 488.2 MB, free: 11.02 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/1.238, allocations: 193.4 kB / 488.4 MB, free: 11.02 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/1.238, allocations: 157.5 kB / 488.5 MB, free: 11.02 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/1.249, allocations: 9.882 MB / 498.4 MB, free: 10.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.249, allocations: 0.5938 kB / 498.4 MB, free: 10.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.162e-06/1.249, allocations: 0 / 498.4 MB, free: 10.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/1.249, allocations: 1.312 kB / 498.4 MB, free: 10.73 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003203/1.252, allocations: 1.927 MB / 0.4886 GB, free: 9.551 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/1.252, allocations: 13.92 kB / 0.4886 GB, free: 9.547 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.549e-05/1.252, allocations: 123.3 kB / 0.4888 GB, free: 9.496 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/1.253, allocations: 383.3 kB / 0.4891 GB, free: 9.234 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/1.253, allocations: 23.25 kB / 0.4891 GB, free: 9.234 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/1.253, allocations: 30.62 kB / 0.4892 GB, free: 9.234 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/1.253, allocations: 434 kB / 0.4896 GB, free: 9.055 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/1.253, allocations: 0.625 kB / 0.4896 GB, free: 9.055 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/1.253, allocations: 14.25 kB / 0.4896 GB, free: 9.055 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/1.253, allocations: 10.78 kB / 0.4896 GB, free: 9.055 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002075/1.253, allocations: 284.7 kB / 0.4899 GB, free: 9.051 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009554/1.254, allocations: 2.332 MB / 0.4922 GB, free: 7.473 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004246/1.255, allocations: 433.9 kB / 0.4926 GB, free: 7.434 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.02e-05/1.255, allocations: 139.4 kB / 0.4927 GB, free: 7.422 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03281/1.287, allocations: 19.75 MB / 0.512 GB, free: 9.867 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/1.287, allocations: 40.58 kB / 0.512 GB, free: 9.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.314e-06/1.287, allocations: 0 / 0.512 GB, free: 9.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001559/1.289, allocations: 0.8597 MB / 0.5129 GB, free: 8.961 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/1.289, allocations: 55.41 kB / 0.5129 GB, free: 8.895 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004076/1.289, allocations: 0.69 MB / 0.5136 GB, free: 8.293 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/1.289, allocations: 33.7 kB / 0.5136 GB, free: 8.254 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/1.29, allocations: 442.2 kB / 0.514 GB, free: 7.848 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/1.29, allocations: 139.1 kB / 0.5142 GB, free: 7.719 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.326e-05/1.29, allocations: 73.44 kB / 0.5142 GB, free: 7.648 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/1.29, allocations: 0.491 MB / 0.5147 GB, free: 7.156 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.885e-05/1.29, allocations: 107.9 kB / 0.5148 GB, free: 7.051 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/1.29, allocations: 178.1 kB / 0.515 GB, free: 6.859 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/1.291, allocations: 312.4 kB / 0.5153 GB, free: 6.543 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.291, allocations: 4 kB / 0.5153 GB, free: 6.539 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000471/1.291, allocations: 0.5246 MB / 0.5158 GB, free: 6.023 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/1.291, allocations: 9.406 kB / 0.5158 GB, free: 6.016 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/1.291, allocations: 0 / 0.5158 GB, free: 6.016 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001922/1.293, allocations: 0.689 MB / 0.5165 GB, free: 5.332 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.573e-05/1.293, allocations: 31.08 kB / 0.5165 GB, free: 5.305 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006993/1.294, allocations: 1.288 MB / 0.5178 GB, free: 4.016 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/1.294, allocations: 28.42 kB / 0.5178 GB, free: 3.988 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/1.294, allocations: 12 kB / 0.5178 GB, free: 3.977 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 (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.0001183/1.294, allocations: 179.6 kB / 0.518 GB, free: 3.793 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.749e-05/1.294, allocations: 88.84 kB / 0.5181 GB, free: 3.707 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005905/1.295, allocations: 0.5857 MB / 0.5187 GB, free: 3.121 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003897/1.295, allocations: 468.6 kB / 0.5191 GB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/1.295, allocations: 0 / 0.5191 GB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/1.295, allocations: 0 / 0.5191 GB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/1.296, allocations: 1.287 MB / 0.5204 GB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.296, allocations: 1.75 kB / 0.5204 GB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.266e-05/1.296, allocations: 47.02 kB / 0.5204 GB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009271/1.297, allocations: 436.1 kB / 0.5208 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/1.297, allocations: 10.89 kB / 0.5208 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008426/1.298, allocations: 1.285 MB / 0.5221 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.298, allocations: 4 kB / 0.5221 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005219/1.299, allocations: 0.7006 MB / 0.5228 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.709e-05/1.299, allocations: 100.5 kB / 0.5229 GB, free: 14.83 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/1.299, allocations: 11.98 kB / 0.5229 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/1.299, allocations: 12 kB / 0.5229 GB, free: 14.81 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/1.299, allocations: 24.97 kB / 0.5229 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/1.299, allocations: 8 kB / 0.5229 GB, free: 14.78 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002108/1.299, allocations: 420.5 kB / 0.5233 GB, free: 14.41 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/1.299, allocations: 0 / 0.5233 GB, free: 14.41 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002354/1.301, allocations: 1.161 MB / 0.5245 GB, free: 13.25 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 (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.00302/1.304, allocations: 1.846 MB / 0.5263 GB, free: 11.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004957/1.305, allocations: 427.4 kB / 0.5267 GB, free: 11.21 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.305, allocations: 0 / 0.5267 GB, free: 11.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002728/1.305, allocations: 260.1 kB / 0.5269 GB, free: 10.96 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/1.306, allocations: 98.06 kB / 0.527 GB, free: 10.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/1.307, allocations: 1.349 MB / 0.5283 GB, free: 9.508 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/1.307, allocations: 192.8 kB / 0.5285 GB, free: 9.297 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.029e-05/1.307, allocations: 25.7 kB / 0.5285 GB, free: 9.273 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/1.307, allocations: 114.2 kB / 0.5286 GB, free: 9.16 MB / 458.7 MB Notification: Performance of SimCode: time 5.31e-07/1.307, allocations: 3.094 kB / 0.5286 GB, free: 9.16 MB / 458.7 MB Notification: Performance of Templates: time 0.04372/1.351, allocations: 47.57 MB / 0.5751 GB, free: 9.82 MB / 0.4948 GB " [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: 5.333172348327935]