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.935/0.935, allocations: 150.9 MB / 167.2 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003899, allocations: 14.22 kB / 237.7 MB, free: 2 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06168/0.06208, allocations: 31.35 MB / 269.1 MB, free: 7.227 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.826/1.888, allocations: 295.2 MB / 0.551 GB, free: 12.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5616/2.45, allocations: 187.9 MB / 0.7345 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00037/2.45, allocations: 5.562 kB / 0.7345 GB, free: 1.059 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.0002053/2.45, allocations: 58.38 kB / 0.7346 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003858/2.451, allocations: 164 kB / 0.7348 GB, free: 1.055 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.0288/2.479, allocations: 11.77 MB / 0.7462 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000768/2.48, allocations: 0.573 MB / 0.7468 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003305/2.481, allocations: 310.9 kB / 0.7471 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/2.481, allocations: 245 kB / 0.7473 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/2.481, allocations: 253.6 kB / 0.7476 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.364e-05/2.481, allocations: 48.25 kB / 0.7476 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02916/2.51, allocations: 16.71 MB / 0.7639 GB, free: 192 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003084/2.511, allocations: 230.5 kB / 0.7642 GB, free: 148 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000458/2.511, allocations: 370.7 kB / 0.7645 GB, free: 128 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02125/2.532, allocations: 9.022 MB / 0.7733 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/2.532, allocations: 4.359 kB / 0.7733 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/2.532, allocations: 0 / 0.7733 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.255e-05/2.532, allocations: 0 / 0.7733 GB, free: 12.98 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.005519/2.538, allocations: 2.142 MB / 0.7754 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/2.538, allocations: 8.656 kB / 0.7754 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/2.538, allocations: 107 kB / 0.7755 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006568/2.539, allocations: 0.4958 MB / 0.776 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.35e-05/2.539, allocations: 40.56 kB / 0.7761 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.551e-05/2.539, allocations: 48.56 kB / 0.7761 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/2.54, allocations: 0.6922 MB / 0.7768 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/2.54, allocations: 0 / 0.7768 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.3e-05/2.54, allocations: 23.12 kB / 0.7768 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/2.54, allocations: 13.5 kB / 0.7768 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/2.541, allocations: 0.7041 MB / 0.7775 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08015/2.621, allocations: 33.54 MB / 0.8103 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/2.623, allocations: 0.8455 MB / 0.8111 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004418/2.623, allocations: 278.7 kB / 0.8113 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.243/2.866, allocations: 111.2 MB / 0.92 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/2.866, allocations: 40.16 kB / 0.92 GB, free: 4.395 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=29): time 2.685e-06/2.866, allocations: 0 / 0.92 GB, free: 4.395 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29): time 0.00424/2.871, allocations: 1.461 MB / 0.9214 GB, free: 3.055 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/2.871, allocations: 56.5 kB / 0.9215 GB, free: 2.988 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/2.872, allocations: 0.8922 MB / 0.9224 GB, free: 2.074 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/2.872, allocations: 29.7 kB / 0.9224 GB, free: 2.039 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/2.872, allocations: 459.4 kB / 0.9228 GB, free: 1.59 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.88e-05/2.872, allocations: 94.56 kB / 0.9229 GB, free: 1.496 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/2.873, allocations: 89.12 kB / 0.923 GB, free: 1.406 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001169/2.873, allocations: 318 kB / 0.9233 GB, free: 1.09 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/2.873, allocations: 276.7 kB / 0.9236 GB, free: 0.8203 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005264/2.874, allocations: 392.9 kB / 0.9239 GB, free: 388 kB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009655/2.875, allocations: 0.6613 MB / 0.9246 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/2.875, allocations: 4 kB / 0.9246 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001705/2.876, allocations: 0.9435 MB / 0.9255 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/2.876, allocations: 8 kB / 0.9255 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/2.876, allocations: 4 kB / 0.9255 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004312/2.881, allocations: 0.7176 MB / 0.9262 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/2.881, allocations: 74.33 kB / 0.9263 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/2.882, allocations: 1.172 MB / 0.9274 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/2.883, allocations: 55.42 kB / 0.9275 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/2.883, allocations: 23.98 kB / 0.9275 GB, free: 12.68 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.0003202/2.883, allocations: 270.1 kB / 0.9278 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/2.883, allocations: 94.88 kB / 0.9279 GB, free: 12.33 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/2.885, allocations: 0.8773 MB / 0.9287 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/2.885, allocations: 4 kB / 0.9287 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/2.885, allocations: 4 kB / 0.9287 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/2.885, allocations: 175.9 kB / 0.9289 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.363e-05/2.885, allocations: 8 kB / 0.9289 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/2.885, allocations: 19.97 kB / 0.9289 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/2.886, allocations: 15.92 kB / 0.9289 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002215/2.888, allocations: 0.9395 MB / 0.9299 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001545/2.889, allocations: 1.203 MB / 0.931 GB, free: 9.047 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004176/2.89, allocations: 268.1 kB / 0.9313 GB, free: 8.789 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007247/2.89, allocations: 0.6178 MB / 0.9319 GB, free: 8.164 MB / 0.7637 GB Notification: Performance of Backend: time 4.51e-07/2.89, allocations: 4 kB / 0.9319 GB, free: 8.16 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01365/2.904, allocations: 3.33 MB / 0.9352 GB, free: 5.199 MB / 0.7637 GB Notification: Performance of SimCode: time 0.00277/2.907, allocations: 2.004 MB / 0.9371 GB, free: 3.164 MB / 0.7637 GB Notification: Performance of Templates: time 0.09194/2.999, allocations: 67.95 MB / 1.003 GB, free: 15.27 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)