Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.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_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.836/0.836, allocations: 150.9 MB / 167.2 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003623, allocations: 18.2 kB / 237.7 MB, free: 1.828 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06112/0.0615, allocations: 31.34 MB / 269.1 MB, free: 7.109 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_1): time 1.697/1.759, allocations: 295.2 MB / 0.551 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.6107/2.37, allocations: 187.9 MB / 0.7345 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004011/2.37, allocations: 8 kB / 0.7345 GB, free: 0.9766 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/SourceAngularVelocity.mo:11:3-15: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.0002231/2.37, allocations: 54.48 kB / 0.7346 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005437/2.371, allocations: 162.1 kB / 0.7348 GB, free: 0.9727 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.03853/2.409, allocations: 11.77 MB / 0.7462 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009857/2.41, allocations: 0.5762 MB / 0.7468 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003843/2.411, allocations: 303.3 kB / 0.7471 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003386/2.411, allocations: 245.7 kB / 0.7473 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/2.411, allocations: 260 kB / 0.7476 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.858e-05/2.412, allocations: 46.91 kB / 0.7476 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03615/2.448, allocations: 16.71 MB / 0.7639 GB, free: 68 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004159/2.448, allocations: 230.7 kB / 0.7642 GB, free: 20 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006666/2.449, allocations: 375.5 kB / 0.7645 GB, free: 4 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02805/2.477, allocations: 8.992 MB / 0.7733 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/2.477, allocations: 1.203 kB / 0.7733 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.996e-06/2.477, allocations: 0 / 0.7733 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.257e-05/2.477, allocations: 0 / 0.7733 GB, free: 12.78 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.0059/2.483, allocations: 2.148 MB / 0.7754 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/2.483, allocations: 8.375 kB / 0.7754 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/2.483, allocations: 107.7 kB / 0.7755 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005748/2.484, allocations: 0.4943 MB / 0.776 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.139e-05/2.484, allocations: 38.28 kB / 0.776 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.074e-05/2.484, allocations: 50.5 kB / 0.7761 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/2.485, allocations: 0.6908 MB / 0.7767 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/2.485, allocations: 0 / 0.7767 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.729e-05/2.485, allocations: 20.09 kB / 0.7768 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/2.485, allocations: 17.3 kB / 0.7768 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/2.486, allocations: 0.7075 MB / 0.7775 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08029/2.567, allocations: 33.54 MB / 0.8102 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/2.568, allocations: 0.8511 MB / 0.8111 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004408/2.569, allocations: 271.1 kB / 0.8113 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2486/2.817, allocations: 111.2 MB / 0.9199 GB, free: 4.219 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/2.817, allocations: 36.16 kB / 0.92 GB, free: 4.18 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=29): time 3.175e-06/2.817, allocations: 0 / 0.92 GB, free: 4.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29): time 0.004541/2.822, allocations: 1.46 MB / 0.9214 GB, free: 2.883 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/2.822, allocations: 51.41 kB / 0.9215 GB, free: 2.82 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/2.823, allocations: 0.9007 MB / 0.9223 GB, free: 1.922 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/2.823, allocations: 29.7 kB / 0.9224 GB, free: 1.887 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004357/2.824, allocations: 450.4 kB / 0.9228 GB, free: 1.445 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.333e-05/2.824, allocations: 108.2 kB / 0.9229 GB, free: 1.344 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/2.824, allocations: 86.03 kB / 0.923 GB, free: 1.254 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001508/2.824, allocations: 318 kB / 0.9233 GB, free: 0.9375 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004908/2.825, allocations: 272.7 kB / 0.9235 GB, free: 0.6719 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006184/2.825, allocations: 395.7 kB / 0.9239 GB, free: 232 kB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/2.827, allocations: 0.6573 MB / 0.9246 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.198e-06/2.827, allocations: 7.719 kB / 0.9246 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001875/2.828, allocations: 0.9475 MB / 0.9255 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/2.829, allocations: 5.688 kB / 0.9255 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/2.829, allocations: 8 kB / 0.9255 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004633/2.833, allocations: 0.7181 MB / 0.9262 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/2.834, allocations: 70.23 kB / 0.9263 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/2.835, allocations: 1.174 MB / 0.9274 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004571/2.836, allocations: 55.42 kB / 0.9275 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/2.836, allocations: 23.98 kB / 0.9275 GB, free: 12.53 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (sourcePQ.C.ftype,centrifugalPump.fluid,sink.fluid,sourcePQ.fluid1,sourcePQ.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 {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0003906/2.836, allocations: 262.2 kB / 0.9277 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/2.836, allocations: 87.97 kB / 0.9278 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/2.838, allocations: 0.8894 MB / 0.9287 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/2.838, allocations: 3.984 kB / 0.9287 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/2.838, allocations: 1.812 kB / 0.9287 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/2.838, allocations: 175.9 kB / 0.9289 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.91e-05/2.839, allocations: 11.98 kB / 0.9289 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/2.839, allocations: 19.98 kB / 0.9289 GB, free: 11.06 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.836e-05/2.839, allocations: 19.91 kB / 0.9289 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002487/2.841, allocations: 0.9372 MB / 0.9298 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00175/2.843, allocations: 1.203 MB / 0.931 GB, free: 8.891 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004455/2.844, allocations: 271.4 kB / 0.9313 GB, free: 8.633 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00112/2.845, allocations: 0.6144 MB / 0.9319 GB, free: 8.008 MB / 0.7637 GB Notification: Performance of Backend: time 4.91e-07/2.845, allocations: 0 / 0.9319 GB, free: 8.008 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01479/2.86, allocations: 3.339 MB / 0.9351 GB, free: 5.039 MB / 0.7637 GB Notification: Performance of SimCode: time 0.003189/2.863, allocations: 1.997 MB / 0.9371 GB, free: 3.004 MB / 0.7637 GB Notification: Performance of Templates: time 0.09916/2.962, allocations: 67.94 MB / 1.003 GB, free: 15.12 MB / 0.8419 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe 2>&1)