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.7992/0.7992, allocations: 150.9 MB / 167.2 MB, free: 14.56 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003759, allocations: 17.05 kB / 237.7 MB, free: 1.844 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06259/0.06299, allocations: 31.34 MB / 269.1 MB, free: 7.117 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.632/1.695, allocations: 295.1 MB / 0.551 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5175/2.213, allocations: 187.9 MB / 0.7345 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003008/2.213, allocations: 12.31 kB / 0.7345 GB, free: 1.32 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.0002156/2.213, allocations: 54.97 kB / 0.7345 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004655/2.214, allocations: 157.4 kB / 0.7347 GB, free: 1.32 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.02768/2.241, allocations: 11.55 MB / 0.746 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007297/2.242, allocations: 0.5748 MB / 0.7465 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003287/2.243, allocations: 309.6 kB / 0.7468 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/2.243, allocations: 243.1 kB / 0.7471 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/2.243, allocations: 255.9 kB / 0.7473 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.302e-05/2.243, allocations: 47.53 kB / 0.7473 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03215/2.275, allocations: 16.71 MB / 0.7637 GB, free: 356 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005022/2.276, allocations: 224.4 kB / 0.7639 GB, free: 312 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007976/2.277, allocations: 379.8 kB / 0.7642 GB, free: 292 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02703/2.304, allocations: 9.085 MB / 0.7731 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/2.304, allocations: 3.094 kB / 0.7731 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.446e-06/2.304, allocations: 5.203 kB / 0.7731 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.779e-05/2.304, allocations: 0 / 0.7731 GB, free: 13.36 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.006533/2.31, allocations: 2.139 MB / 0.7752 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/2.311, allocations: 12.59 kB / 0.7752 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002351/2.311, allocations: 107.1 kB / 0.7753 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008303/2.312, allocations: 0.4989 MB / 0.7758 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.274e-05/2.312, allocations: 38.72 kB / 0.7758 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-05/2.312, allocations: 48.38 kB / 0.7759 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/2.313, allocations: 0.6997 MB / 0.7766 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/2.313, allocations: 0 / 0.7766 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/2.313, allocations: 19.47 kB / 0.7766 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/2.313, allocations: 11.03 kB / 0.7766 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/2.314, allocations: 0.7046 MB / 0.7773 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07319/2.387, allocations: 33.53 MB / 0.81 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/2.389, allocations: 0.8545 MB / 0.8109 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004008/2.389, allocations: 266.5 kB / 0.8111 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2342/2.623, allocations: 111.3 MB / 0.9198 GB, free: 4.637 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/2.623, allocations: 35.05 kB / 0.9198 GB, free: 4.594 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=29): time 2.926e-06/2.623, allocations: 0 / 0.9198 GB, free: 4.594 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29): time 0.004322/2.628, allocations: 1.462 MB / 0.9212 GB, free: 3.113 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/2.628, allocations: 56.61 kB / 0.9213 GB, free: 3.047 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/2.629, allocations: 0.8884 MB / 0.9221 GB, free: 2.137 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/2.629, allocations: 29.7 kB / 0.9222 GB, free: 2.102 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/2.63, allocations: 454 kB / 0.9226 GB, free: 1.656 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.94e-05/2.63, allocations: 102.5 kB / 0.9227 GB, free: 1.559 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/2.63, allocations: 94.02 kB / 0.9228 GB, free: 1.461 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001501/2.63, allocations: 322 kB / 0.9231 GB, free: 1.141 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004523/2.631, allocations: 264.7 kB / 0.9234 GB, free: 0.8828 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005576/2.631, allocations: 394.8 kB / 0.9237 GB, free: 452 kB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/2.632, allocations: 0.664 MB / 0.9244 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/2.632, allocations: 0 / 0.9244 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001755/2.634, allocations: 0.9475 MB / 0.9253 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/2.634, allocations: 4 kB / 0.9253 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/2.634, allocations: 6.125 kB / 0.9253 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004403/2.638, allocations: 0.7263 MB / 0.926 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/2.639, allocations: 74.25 kB / 0.9261 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/2.64, allocations: 1.165 MB / 0.9272 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00045/2.641, allocations: 65.59 kB / 0.9273 GB, free: 12.75 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/2.641, allocations: 24.06 kB / 0.9273 GB, free: 12.73 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.0003792/2.641, allocations: 263.1 kB / 0.9276 GB, free: 12.47 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/2.641, allocations: 86.88 kB / 0.9277 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/2.643, allocations: 0.8876 MB / 0.9285 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/2.643, allocations: 0 / 0.9285 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/2.643, allocations: 0 / 0.9285 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002809/2.643, allocations: 179.9 kB / 0.9287 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.192e-05/2.643, allocations: 5.562 kB / 0.9287 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/2.644, allocations: 23.97 kB / 0.9287 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.786e-05/2.644, allocations: 19.92 kB / 0.9287 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002132/2.646, allocations: 0.9465 MB / 0.9297 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001634/2.647, allocations: 1.203 MB / 0.9308 GB, free: 9.098 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004135/2.648, allocations: 265 kB / 0.9311 GB, free: 8.84 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008054/2.649, allocations: 0.6105 MB / 0.9317 GB, free: 8.219 MB / 0.7637 GB Notification: Performance of Backend: time 6.01e-07/2.649, allocations: 0 / 0.9317 GB, free: 8.219 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01492/2.664, allocations: 3.34 MB / 0.9349 GB, free: 5.25 MB / 0.7637 GB Notification: Performance of SimCode: time 0.003009/2.667, allocations: 1.998 MB / 0.9369 GB, free: 3.219 MB / 0.7637 GB Notification: Performance of Templates: time 0.1018/2.768, allocations: 67.94 MB / 1.003 GB, free: 15.34 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)