Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8335/0.8335, allocations: 150.9 MB / 167.2 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004796, allocations: 18.14 kB / 237.7 MB, free: 1.801 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06393/0.06442, allocations: 31.34 MB / 269.1 MB, free: 7.102 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4): time 1.779/1.843, allocations: 295.1 MB / 0.551 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5093/2.353, allocations: 187.9 MB / 0.7345 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003704/2.353, allocations: 8.094 kB / 0.7345 GB, free: 1.047 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:120:3-121:67: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 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:122:3-123:65: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 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:124:3-128:23: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 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65: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 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67: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 4.0.0-master/ElectroMechanics/BoundaryConditions/SourceTorque.mo:5:3-9:24: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.000215/2.353, allocations: 57.72 kB / 0.7345 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003904/2.354, allocations: 158.6 kB / 0.7347 GB, free: 1.043 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783: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 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850: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 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088: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 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69: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 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69: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 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49: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 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49: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 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84: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.02844/2.382, allocations: 11.55 MB / 0.746 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007314/2.383, allocations: 0.586 MB / 0.7465 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003336/2.383, allocations: 309.9 kB / 0.7468 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002892/2.384, allocations: 255 kB / 0.7471 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/2.384, allocations: 273.3 kB / 0.7473 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.144e-05/2.384, allocations: 48.56 kB / 0.7474 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02905/2.413, allocations: 16.72 MB / 0.7637 GB, free: 112 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003479/2.414, allocations: 231 kB / 0.7639 GB, free: 68 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004695/2.414, allocations: 373.3 kB / 0.7643 GB, free: 48 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0243/2.438, allocations: 9.007 MB / 0.7731 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/2.438, allocations: 0 / 0.7731 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.003e-06/2.438, allocations: 2.25 kB / 0.7731 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.299e-05/2.438, allocations: 0 / 0.7731 GB, free: 12.77 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.005545/2.444, allocations: 2.16 MB / 0.7752 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/2.444, allocations: 8.094 kB / 0.7752 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/2.444, allocations: 115.6 kB / 0.7753 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/2.445, allocations: 0.5015 MB / 0.7758 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/2.445, allocations: 42.55 kB / 0.7758 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.327e-05/2.445, allocations: 49.81 kB / 0.7759 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009629/2.446, allocations: 0.5996 MB / 0.7765 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/2.446, allocations: 2.25 kB / 0.7765 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/2.446, allocations: 21.25 kB / 0.7765 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/2.446, allocations: 13.53 kB / 0.7765 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/2.447, allocations: 0.5901 MB / 0.7771 GB, free: 10.62 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002606/2.45, allocations: 2.326 MB / 0.7794 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/2.451, allocations: 0.6429 MB / 0.78 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003622/2.452, allocations: 212.9 kB / 0.7802 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2996/2.751, allocations: 141.8 MB / 0.9186 GB, free: 5.324 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/2.751, allocations: 36.81 kB / 0.9187 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 2.836e-06/2.751, allocations: 0 / 0.9187 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.003571/2.755, allocations: 1.066 MB / 0.9197 GB, free: 4.34 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/2.755, allocations: 58.48 kB / 0.9198 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/2.756, allocations: 0.9073 MB / 0.9206 GB, free: 3.547 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/2.756, allocations: 36.52 kB / 0.9207 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003709/2.757, allocations: 479.2 kB / 0.9211 GB, free: 3.164 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/2.757, allocations: 98.56 kB / 0.9212 GB, free: 3.066 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/2.757, allocations: 98.02 kB / 0.9213 GB, free: 2.965 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001193/2.757, allocations: 326.7 kB / 0.9216 GB, free: 2.641 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004665/2.758, allocations: 220.7 kB / 0.9218 GB, free: 2.426 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005432/2.758, allocations: 341.5 kB / 0.9222 GB, free: 2.043 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009195/2.759, allocations: 0.543 MB / 0.9227 GB, free: 1.465 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/2.759, allocations: 1.203 kB / 0.9227 GB, free: 1.465 MB / 0.7481 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001694/2.761, allocations: 0.8704 MB / 0.9236 GB, free: 0.6055 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/2.761, allocations: 4 kB / 0.9236 GB, free: 0.6016 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/2.761, allocations: 4 kB / 0.9236 GB, free: 0.5977 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004854/2.766, allocations: 0.7948 MB / 0.9243 GB, free: 15.81 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/2.766, allocations: 73.73 kB / 0.9244 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/2.768, allocations: 1.242 MB / 0.9256 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005523/2.768, allocations: 71.34 kB / 0.9257 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/2.768, allocations: 27.98 kB / 0.9257 GB, free: 14.38 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,centrifugalPump.fluid,sinkP.fluid,sourceP.fluid1,sourceP.C.diff_on_2,centrifugalPump.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004143/2.769, allocations: 263 kB / 0.926 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/2.769, allocations: 86.88 kB / 0.9261 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/2.77, allocations: 0.6941 MB / 0.9267 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/2.77, allocations: 3.984 kB / 0.9267 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/2.77, allocations: 0 / 0.9267 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/2.771, allocations: 189.4 kB / 0.9269 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.353e-05/2.771, allocations: 4 kB / 0.9269 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/2.771, allocations: 27.91 kB / 0.9269 GB, free: 13.1 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/2.771, allocations: 23.97 kB / 0.927 GB, free: 13.08 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001845/2.773, allocations: 0.6987 MB / 0.9276 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001498/2.775, allocations: 0.9872 MB / 0.9286 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003742/2.775, allocations: 199.9 kB / 0.9288 GB, free: 11.19 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007798/2.776, allocations: 0.6271 MB / 0.9294 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of Backend: time 7.11e-07/2.776, allocations: 4 kB / 0.9294 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01369/2.789, allocations: 3.312 MB / 0.9327 GB, free: 7.617 MB / 0.7637 GB Notification: Performance of SimCode: time 0.002776/2.792, allocations: 2.059 MB / 0.9347 GB, free: 5.52 MB / 0.7637 GB Notification: Performance of Templates: time 0.08675/2.879, allocations: 68.48 MB / 1.002 GB, free: 1.102 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe 2>&1)