Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.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_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.817/0.817, allocations: 150.9 MB / 167.2 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003237, allocations: 13.77 kB / 237.7 MB, free: 1.836 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0485/0.04883, allocations: 31.35 MB / 269.1 MB, free: 7.105 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_2): time 1.58/1.629, allocations: 295.1 MB / 0.551 GB, free: 12.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5484/2.177, allocations: 187.9 MB / 0.7345 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005322/2.178, allocations: 8.594 kB / 0.7345 GB, free: 1.094 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.0002247/2.178, allocations: 59.06 kB / 0.7345 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003805/2.178, allocations: 157.9 kB / 0.7347 GB, free: 1.09 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.03209/2.21, allocations: 11.55 MB / 0.746 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008886/2.211, allocations: 0.578 MB / 0.7465 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003818/2.212, allocations: 303.7 kB / 0.7468 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003066/2.212, allocations: 242.4 kB / 0.747 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00031/2.212, allocations: 259.1 kB / 0.7473 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.769e-05/2.212, allocations: 46.78 kB / 0.7473 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0326/2.245, allocations: 16.71 MB / 0.7637 GB, free: 196 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002904/2.245, allocations: 221.6 kB / 0.7639 GB, free: 152 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005117/2.246, allocations: 375.5 kB / 0.7642 GB, free: 132 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02307/2.269, allocations: 8.981 MB / 0.773 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/2.269, allocations: 0 / 0.773 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.294e-06/2.269, allocations: 0 / 0.773 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.817e-05/2.269, allocations: 4 kB / 0.773 GB, free: 12.86 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.00697/2.276, allocations: 2.138 MB / 0.7751 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/2.276, allocations: 12 kB / 0.7751 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/2.276, allocations: 108.5 kB / 0.7752 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007205/2.277, allocations: 0.5001 MB / 0.7757 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.869e-05/2.277, allocations: 37 kB / 0.7757 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/2.277, allocations: 46.69 kB / 0.7758 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/2.278, allocations: 0.695 MB / 0.7764 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/2.279, allocations: 5.281 kB / 0.7765 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/2.279, allocations: 18.66 kB / 0.7765 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/2.279, allocations: 13.41 kB / 0.7765 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/2.28, allocations: 0.7025 MB / 0.7772 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07581/2.356, allocations: 33.55 MB / 0.8099 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/2.357, allocations: 0.8473 MB / 0.8108 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006042/2.358, allocations: 270.6 kB / 0.811 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2327/2.591, allocations: 111.2 MB / 0.9196 GB, free: 4.367 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/2.591, allocations: 33.06 kB / 0.9197 GB, free: 4.328 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=29): time 2.645e-06/2.591, allocations: 1.203 kB / 0.9197 GB, free: 4.328 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29): time 0.00416/2.595, allocations: 1.466 MB / 0.9211 GB, free: 3.027 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/2.595, allocations: 51.41 kB / 0.9212 GB, free: 2.965 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/2.596, allocations: 0.8906 MB / 0.922 GB, free: 2.199 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/2.596, allocations: 29.7 kB / 0.9221 GB, free: 2.164 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003849/2.596, allocations: 460 kB / 0.9225 GB, free: 1.715 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.621e-05/2.596, allocations: 108.1 kB / 0.9226 GB, free: 1.613 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/2.597, allocations: 86.03 kB / 0.9227 GB, free: 1.523 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000128/2.597, allocations: 322 kB / 0.923 GB, free: 1.203 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/2.597, allocations: 272.6 kB / 0.9232 GB, free: 0.9414 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/2.598, allocations: 394.8 kB / 0.9236 GB, free: 0.5 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009961/2.599, allocations: 0.6591 MB / 0.9243 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/2.599, allocations: 4 kB / 0.9243 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001551/2.6, allocations: 0.9388 MB / 0.9252 GB, free: 14.87 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/2.6, allocations: 8 kB / 0.9252 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/2.6, allocations: 7.188 kB / 0.9252 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004313/2.605, allocations: 0.7195 MB / 0.9259 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/2.605, allocations: 71.05 kB / 0.926 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/2.606, allocations: 1.165 MB / 0.9271 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/2.607, allocations: 59.36 kB / 0.9272 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/2.607, allocations: 29.14 kB / 0.9272 GB, free: 12.8 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.0003307/2.607, allocations: 263.6 kB / 0.9274 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/2.607, allocations: 86.88 kB / 0.9275 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/2.609, allocations: 0.891 MB / 0.9284 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/2.609, allocations: 0 / 0.9284 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/2.609, allocations: 3.984 kB / 0.9284 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/2.609, allocations: 175.9 kB / 0.9286 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.037e-05/2.609, allocations: 4 kB / 0.9286 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/2.609, allocations: 27.06 kB / 0.9286 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/2.609, allocations: 19.91 kB / 0.9286 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002094/2.611, allocations: 0.9331 MB / 0.9295 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001536/2.613, allocations: 1.207 MB / 0.9307 GB, free: 9.168 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003931/2.613, allocations: 267.8 kB / 0.931 GB, free: 8.906 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006979/2.614, allocations: 0.6105 MB / 0.9316 GB, free: 8.285 MB / 0.7637 GB Notification: Performance of Backend: time 6.71e-07/2.614, allocations: 0 / 0.9316 GB, free: 8.285 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01314/2.627, allocations: 3.338 MB / 0.9348 GB, free: 5.328 MB / 0.7637 GB Notification: Performance of SimCode: time 0.002808/2.63, allocations: 1.998 MB / 0.9368 GB, free: 3.293 MB / 0.7637 GB Notification: Performance of Templates: time 0.08875/2.719, allocations: 67.94 MB / 1.003 GB, free: 15.41 MB / 0.8419 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe 2>&1)