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.5196/0.5196, allocations: 111.6 MB / 131.2 MB, free: 5.051 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.573e-06/1.573e-06, allocations: 0 / 176.2 MB, free: 9.066 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.948e-05, allocations: 7.859 kB / 176.2 MB, free: 9.062 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.026/1.026, allocations: 257.2 MB / 433.4 MB, free: 232 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3365/1.363, allocations: 181.6 MB / 0.6006 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/1.363, allocations: 15.94 kB / 0.6006 GB, free: 15.66 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.000112/1.363, allocations: 43.52 kB / 0.6007 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000277/1.363, allocations: 126.8 kB / 0.6008 GB, free: 15.5 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 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.02094/1.384, allocations: 11.62 MB / 0.6121 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004506/1.385, allocations: 458.2 kB / 0.6126 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/1.385, allocations: 189.5 kB / 0.6127 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/1.385, allocations: 275.3 kB / 0.613 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/1.385, allocations: 135.6 kB / 0.6131 GB, free: 2.859 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.414e-05/1.385, allocations: 36 kB / 0.6132 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02174/1.407, allocations: 18.57 MB / 0.6313 GB, free: 240 kB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/1.407, allocations: 99.61 kB / 0.6314 GB, free: 140 kB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/1.407, allocations: 139.7 kB / 0.6315 GB, free: 0 / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01853/1.426, allocations: 12.16 MB / 0.6434 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/1.426, allocations: 0 / 0.6434 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.773e-06/1.426, allocations: 0 / 0.6434 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.102e-06/1.426, allocations: 0 / 0.6434 GB, free: 3.805 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.003378/1.429, allocations: 1.907 MB / 0.6453 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/1.429, allocations: 11.98 kB / 0.6453 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.889e-05/1.429, allocations: 83.67 kB / 0.6454 GB, free: 1.754 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/1.43, allocations: 274.7 kB / 0.6456 GB, free: 1.457 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/1.43, allocations: 33 kB / 0.6457 GB, free: 1.426 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/1.43, allocations: 36 kB / 0.6457 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004096/1.43, allocations: 346.5 kB / 0.646 GB, free: 1.016 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/1.43, allocations: 0 / 0.646 GB, free: 1.016 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/1.43, allocations: 16 kB / 0.646 GB, free: 1 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/1.43, allocations: 11.94 kB / 0.646 GB, free: 0.9883 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/1.431, allocations: 155.7 kB / 0.6462 GB, free: 0.8398 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004055/1.435, allocations: 3.41 MB / 0.6495 GB, free: 13.37 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005494/1.435, allocations: 156.2 kB / 0.6497 GB, free: 13.2 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.742e-05/1.435, allocations: 35.67 kB / 0.6497 GB, free: 13.16 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1255/1.561, allocations: 45.76 MB / 0.6944 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/1.561, allocations: 41.33 kB / 0.6944 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.565e-06/1.561, allocations: 0 / 0.6944 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.00513/1.566, allocations: 456.4 kB / 0.6949 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/1.566, allocations: 51.41 kB / 0.6949 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/1.566, allocations: 370 kB / 0.6953 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/1.566, allocations: 29.7 kB / 0.6953 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/1.566, allocations: 286.8 kB / 0.6956 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/1.566, allocations: 55.53 kB / 0.6956 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.176e-05/1.567, allocations: 75.3 kB / 0.6957 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.567, allocations: 0.5039 MB / 0.6962 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.779e-05/1.567, allocations: 39.97 kB / 0.6962 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/1.567, allocations: 175.7 kB / 0.6964 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/1.567, allocations: 232.8 kB / 0.6966 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/1.567, allocations: 4.562 kB / 0.6966 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.003976/1.571, allocations: 377.3 kB / 0.697 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/1.571, allocations: 5.719 kB / 0.697 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.571, allocations: 4.562 kB / 0.697 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/1.572, allocations: 208 kB / 0.6972 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/1.572, allocations: 43.92 kB / 0.6972 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005365/1.573, allocations: 0.9063 MB / 0.6981 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/1.573, allocations: 27.78 kB / 0.6981 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/1.573, allocations: 16.86 kB / 0.6982 GB, free: 11.25 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 (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.0001213/1.573, allocations: 172.5 kB / 0.6983 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/1.573, allocations: 35.75 kB / 0.6984 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0031/1.576, allocations: 293.3 kB / 0.6986 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.576, allocations: 4 kB / 0.6986 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.576, allocations: 3.984 kB / 0.6986 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.576, allocations: 0 / 0.6986 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/1.577, allocations: 253.7 kB / 0.6989 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/1.577, allocations: 3.938 kB / 0.6989 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/1.577, allocations: 8 kB / 0.6989 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007732/1.577, allocations: 207.5 kB / 0.6991 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/1.577, allocations: 1.25 kB / 0.6991 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000447/1.578, allocations: 0.8906 MB / 0.7 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.578, allocations: 0 / 0.7 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000625/1.578, allocations: 304.2 kB / 0.7003 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/1.578, allocations: 47.72 kB / 0.7003 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/1.579, allocations: 4 kB / 0.7003 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.274e-05/1.579, allocations: 4 kB / 0.7003 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/1.579, allocations: 11.92 kB / 0.7003 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/1.579, allocations: 1.438 kB / 0.7003 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001498/1.579, allocations: 235 kB / 0.7005 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/1.579, allocations: 4 kB / 0.7006 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004282/1.583, allocations: 1.465 MB / 0.702 GB, free: 7.207 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.003819/1.587, allocations: 2.372 MB / 0.7043 GB, free: 4.828 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000306/1.587, allocations: 155.5 kB / 0.7044 GB, free: 4.672 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/1.587, allocations: 4 kB / 0.7045 GB, free: 4.668 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/1.587, allocations: 72.23 kB / 0.7045 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/1.588, allocations: 70.5 kB / 0.7046 GB, free: 4.531 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009417/1.588, allocations: 0.5704 MB / 0.7051 GB, free: 3.926 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.579e-05/1.588, allocations: 92.3 kB / 0.7052 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.451e-05/1.589, allocations: 38.19 kB / 0.7053 GB, free: 3.781 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/1.589, allocations: 24.5 kB / 0.7053 GB, free: 3.758 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/1.589, allocations: 0 / 0.7053 GB, free: 3.758 MB / 0.6198 GB Notification: Performance of Templates: time 0.2443/1.833, allocations: 58.23 MB / 0.7622 GB, free: 75.81 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.975381517782807]