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.5143/0.5143, allocations: 111.6 MB / 131.5 MB, free: 4.398 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.823e-06/1.823e-06, allocations: 0 / 176.7 MB, free: 8.805 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.877e-05, allocations: 2.312 kB / 176.7 MB, free: 8.801 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.148/1.148, allocations: 263 MB / 439.7 MB, free: 14.46 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3592/1.507, allocations: 180.9 MB / 0.6061 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002885/1.508, allocations: 7.938 kB / 0.6061 GB, free: 13.77 MB / 0.5261 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.0001219/1.508, allocations: 47.52 kB / 0.6061 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003041/1.508, allocations: 138.7 kB / 0.6063 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.02088/1.529, allocations: 10.35 MB / 0.6164 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000581/1.53, allocations: 462.2 kB / 0.6168 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002735/1.53, allocations: 198.8 kB / 0.617 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/1.53, allocations: 267.4 kB / 0.6173 GB, free: 2.328 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/1.53, allocations: 139.6 kB / 0.6174 GB, free: 2.191 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/1.53, allocations: 36 kB / 0.6174 GB, free: 2.156 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:525:9-525:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:708:9-708:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh1satp' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh2satp' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du1satp_der' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du2satp_der' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88:writable] Warning: 'T' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.02982/1.56, allocations: 19.93 MB / 0.6369 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001429/1.56, allocations: 99.61 kB / 0.637 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/1.56, allocations: 147.6 kB / 0.6371 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02014/1.581, allocations: 12.16 MB / 0.649 GB, free: 1.773 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/1.581, allocations: 0 / 0.649 GB, free: 1.773 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.884e-06/1.581, allocations: 0 / 0.649 GB, free: 1.773 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.464e-06/1.581, allocations: 4 kB / 0.649 GB, free: 1.77 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.004279/1.585, allocations: 1.775 MB / 0.6507 GB, free: 15.95 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/1.585, allocations: 11.98 kB / 0.6508 GB, free: 15.94 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.601e-05/1.585, allocations: 59.95 kB / 0.6508 GB, free: 15.88 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/1.585, allocations: 259.8 kB / 0.6511 GB, free: 15.61 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/1.585, allocations: 25 kB / 0.6511 GB, free: 15.58 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/1.585, allocations: 36 kB / 0.6511 GB, free: 15.55 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/1.586, allocations: 301.6 kB / 0.6514 GB, free: 15.22 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/1.586, allocations: 11.92 kB / 0.6514 GB, free: 15.21 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/1.586, allocations: 12 kB / 0.6514 GB, free: 15.2 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/1.586, allocations: 15.94 kB / 0.6514 GB, free: 15.18 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/1.586, allocations: 111.1 kB / 0.6515 GB, free: 15.08 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005073/1.591, allocations: 3.401 MB / 0.6549 GB, free: 11.64 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004719/1.591, allocations: 130.5 kB / 0.655 GB, free: 11.51 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/1.591, allocations: 28.84 kB / 0.655 GB, free: 11.48 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07187/1.663, allocations: 41.53 MB / 0.6956 GB, free: 1.902 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/1.663, allocations: 38.5 kB / 0.6956 GB, free: 1.855 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 2.304e-06/1.663, allocations: 0 / 0.6956 GB, free: 1.855 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.001707/1.665, allocations: 385.8 kB / 0.696 GB, free: 1.469 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/1.665, allocations: 55.41 kB / 0.696 GB, free: 1.402 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/1.665, allocations: 310.6 kB / 0.6963 GB, free: 1.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/1.665, allocations: 25.7 kB / 0.6964 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/1.665, allocations: 235.9 kB / 0.6966 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/1.665, allocations: 47.58 kB / 0.6966 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.973e-05/1.666, allocations: 73.56 kB / 0.6967 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.666, allocations: 334.8 kB / 0.697 GB, free: 368 kB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.292e-05/1.666, allocations: 23.98 kB / 0.697 GB, free: 344 kB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/1.666, allocations: 133.3 kB / 0.6972 GB, free: 164 kB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/1.666, allocations: 174.2 kB / 0.6973 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/1.666, allocations: 3.938 kB / 0.6973 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007284/1.667, allocations: 304.5 kB / 0.6976 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/1.667, allocations: 8 kB / 0.6976 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.667, allocations: 4 kB / 0.6976 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000785/1.668, allocations: 201.7 kB / 0.6978 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/1.668, allocations: 43.91 kB / 0.6979 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004008/1.668, allocations: 0.6131 MB / 0.6985 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/1.668, allocations: 28.72 kB / 0.6985 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/1.668, allocations: 15.98 kB / 0.6985 GB, free: 14.7 MB / 0.6198 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 (StaticCentrifugalPump1.C2.diff_on_1,sourceP.C.diff_on_2,sourceP.fluid1,sinkP.fluid,StaticCentrifugalPump1.fluid,sourceP.C.ftype) * 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.0001107/1.668, allocations: 125.6 kB / 0.6986 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/1.668, allocations: 19.98 kB / 0.6987 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006088/1.669, allocations: 251.4 kB / 0.6989 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/1.669, allocations: 7.984 kB / 0.6989 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/1.669, allocations: 3.938 kB / 0.6989 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.669, allocations: 0.5625 kB / 0.6989 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/1.669, allocations: 161.7 kB / 0.6991 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/1.669, allocations: 0 / 0.6991 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.97e-05/1.669, allocations: 13.23 kB / 0.6991 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000686/1.67, allocations: 193.1 kB / 0.6993 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/1.67, allocations: 0 / 0.6993 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000307/1.67, allocations: 0.6037 MB / 0.6998 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/1.67, allocations: 3.938 kB / 0.6998 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005252/1.671, allocations: 239.8 kB / 0.7001 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.315e-05/1.671, allocations: 39.75 kB / 0.7001 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/1.671, allocations: 3.984 kB / 0.7001 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.916e-05/1.671, allocations: 4 kB / 0.7001 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/1.671, allocations: 7.984 kB / 0.7001 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/1.671, allocations: 3.938 kB / 0.7001 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.32e-05/1.671, allocations: 104.6 kB / 0.7002 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/1.671, allocations: 0 / 0.7002 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003144/1.674, allocations: 1.465 MB / 0.7017 GB, free: 11.39 MB / 0.6198 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.005057/1.679, allocations: 2.521 MB / 0.7041 GB, free: 8.855 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003172/1.68, allocations: 128.8 kB / 0.7042 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/1.68, allocations: 8 kB / 0.7043 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.937e-05/1.68, allocations: 68.8 kB / 0.7043 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/1.68, allocations: 73.58 kB / 0.7044 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/1.681, allocations: 0.579 MB / 0.705 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.739e-05/1.681, allocations: 92.3 kB / 0.705 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.728e-05/1.681, allocations: 30.28 kB / 0.7051 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.643e-05/1.681, allocations: 83.36 kB / 0.7052 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of SimCode: time 1.293e-06/1.681, allocations: 0 / 0.7052 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of Templates: time 0.279/1.96, allocations: 54.04 MB / 0.7579 GB, free: 79.01 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.996333478949964]