Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.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.529/0.529, allocations: 111.6 MB / 131.7 MB, free: 5.059 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.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 176.5 MB, free: 9.395 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.175e-05, allocations: 4.609 kB / 176.5 MB, free: 9.391 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.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1): time 1.023/1.023, allocations: 257.1 MB / 433.7 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3325/1.356, allocations: 181.2 MB / 0.6005 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002532/1.356, allocations: 11.88 kB / 0.6005 GB, free: 9.238 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Machines/StaticCentrifugalPump.mo:40:3-41:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Machines/StaticCentrifugalPump.mo:42:3-43:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:32:3-33:80:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001314/1.356, allocations: 47.47 kB / 0.6005 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003283/1.356, allocations: 125.7 kB / 0.6007 GB, free: 9.07 MB / 0.5105 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88:writable] Warning: T 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.02509/1.382, allocations: 11.61 MB / 0.612 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004796/1.382, allocations: 458.2 kB / 0.6124 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/1.382, allocations: 189.4 kB / 0.6126 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/1.383, allocations: 267.4 kB / 0.6129 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/1.383, allocations: 135.6 kB / 0.613 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.326e-05/1.383, allocations: 36 kB / 0.613 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02674/1.41, allocations: 18.57 MB / 0.6312 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/1.41, allocations: 95.61 kB / 0.6313 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/1.41, allocations: 139.7 kB / 0.6314 GB, free: 9.594 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01679/1.427, allocations: 12.16 MB / 0.6433 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/1.427, allocations: 0 / 0.6433 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.383e-06/1.427, allocations: 0 / 0.6433 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.265e-06/1.427, allocations: 7.984 kB / 0.6433 GB, free: 13.4 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.003367/1.43, allocations: 1.907 MB / 0.6451 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/1.43, allocations: 11.98 kB / 0.6451 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/1.43, allocations: 83.67 kB / 0.6452 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/1.43, allocations: 278.7 kB / 0.6455 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/1.431, allocations: 25 kB / 0.6455 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/1.431, allocations: 36 kB / 0.6455 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/1.431, allocations: 346.6 kB / 0.6459 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.431, allocations: 0 / 0.6459 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/1.431, allocations: 16 kB / 0.6459 GB, free: 10.6 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/1.431, allocations: 15.94 kB / 0.6459 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002409/1.431, allocations: 151.7 kB / 0.6461 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00427/1.436, allocations: 3.406 MB / 0.6494 GB, free: 6.969 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006286/1.436, allocations: 199.1 kB / 0.6496 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.965e-05/1.436, allocations: 39.67 kB / 0.6496 GB, free: 6.719 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07351/1.51, allocations: 45.75 MB / 0.6943 GB, free: 8.918 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/1.51, allocations: 37.33 kB / 0.6943 GB, free: 8.871 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 2.214e-06/1.51, allocations: 0 / 0.6943 GB, free: 8.871 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.001998/1.512, allocations: 0.5471 MB / 0.6949 GB, free: 8.312 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/1.512, allocations: 55.41 kB / 0.6949 GB, free: 8.246 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/1.512, allocations: 374 kB / 0.6953 GB, free: 7.867 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/1.512, allocations: 33.7 kB / 0.6953 GB, free: 7.828 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/1.512, allocations: 286.8 kB / 0.6956 GB, free: 7.539 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/1.512, allocations: 55.53 kB / 0.6956 GB, free: 7.484 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.778e-05/1.512, allocations: 71.31 kB / 0.6957 GB, free: 7.406 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.513, allocations: 0.5078 MB / 0.6962 GB, free: 6.887 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.974e-05/1.513, allocations: 39.95 kB / 0.6962 GB, free: 6.848 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/1.513, allocations: 183.7 kB / 0.6964 GB, free: 6.605 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/1.513, allocations: 227.9 kB / 0.6966 GB, free: 6.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.513, allocations: 4 kB / 0.6966 GB, free: 6.316 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008983/1.514, allocations: 422 kB / 0.697 GB, free: 5.895 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/1.514, allocations: 8 kB / 0.697 GB, free: 5.887 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.514, allocations: 4 kB / 0.697 GB, free: 5.883 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008774/1.515, allocations: 216.8 kB / 0.6972 GB, free: 5.672 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.032e-05/1.515, allocations: 39.92 kB / 0.6973 GB, free: 5.633 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006016/1.515, allocations: 0.905 MB / 0.6982 GB, free: 4.699 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/1.516, allocations: 31.77 kB / 0.6982 GB, free: 4.668 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/1.516, allocations: 16 kB / 0.6982 GB, free: 4.652 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,StaticCentrifugalPump1.fluid,sinkP.fluid,sourceP.fluid1,sourceP.C.diff_on_2,StaticCentrifugalPump1.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001141/1.516, allocations: 178 kB / 0.6984 GB, free: 4.469 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/1.516, allocations: 35.75 kB / 0.6984 GB, free: 4.434 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007965/1.516, allocations: 340 kB / 0.6987 GB, free: 4.086 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/1.516, allocations: 0 / 0.6987 GB, free: 4.086 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/1.516, allocations: 0.625 kB / 0.6987 GB, free: 4.086 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.516, allocations: 3.984 kB / 0.6987 GB, free: 4.082 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/1.517, allocations: 252.5 kB / 0.699 GB, free: 3.801 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.517, allocations: 3.938 kB / 0.699 GB, free: 3.797 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.823e-05/1.517, allocations: 9.438 kB / 0.699 GB, free: 3.789 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007544/1.517, allocations: 199.5 kB / 0.6992 GB, free: 3.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/1.517, allocations: 7.984 kB / 0.6992 GB, free: 3.582 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003967/1.518, allocations: 0.8936 MB / 0.7001 GB, free: 2.656 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.518, allocations: 0 / 0.7001 GB, free: 2.656 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007152/1.519, allocations: 352.6 kB / 0.7004 GB, free: 2.285 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.638e-05/1.519, allocations: 43.77 kB / 0.7004 GB, free: 2.242 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/1.519, allocations: 8 kB / 0.7004 GB, free: 2.234 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.373e-05/1.519, allocations: 0 / 0.7004 GB, free: 2.234 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/1.519, allocations: 15.92 kB / 0.7005 GB, free: 2.219 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/1.519, allocations: 0 / 0.7005 GB, free: 2.219 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001397/1.519, allocations: 239 kB / 0.7007 GB, free: 1.984 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/1.519, allocations: 0 / 0.7007 GB, free: 1.984 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002473/1.521, allocations: 1.461 MB / 0.7021 GB, free: 0.5195 MB / 0.6042 GB 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 (3): * Single equations (assignments): 2 * 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 {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004317/1.526, allocations: 2.37 MB / 0.7044 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003571/1.526, allocations: 163.8 kB / 0.7046 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.526, allocations: 0 / 0.7046 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/1.526, allocations: 77.39 kB / 0.7047 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/1.527, allocations: 73.02 kB / 0.7047 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/1.528, allocations: 0.5698 MB / 0.7053 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.309e-05/1.528, allocations: 92.3 kB / 0.7054 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.219e-05/1.528, allocations: 34.2 kB / 0.7054 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.445e-05/1.528, allocations: 24.5 kB / 0.7054 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of SimCode: time 1.072e-06/1.528, allocations: 0 / 0.7054 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of Templates: time 0.1639/1.692, allocations: 46.82 MB / 0.7512 GB, free: 268.5 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.386748361866921]