Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.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.SimpleExamples.TestCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8138/0.8138, allocations: 150.9 MB / 167.2 MB, free: 14.47 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.0003211, allocations: 16.66 kB / 237.8 MB, free: 1.785 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05491/0.05525, allocations: 31.35 MB / 269.1 MB, free: 7.047 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.SimpleExamples.TestCentrifugalPump1): time 1.631/1.686, allocations: 296.5 MB / 0.5524 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5593/2.246, allocations: 188.3 MB / 0.7363 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007403/2.246, allocations: 15.66 kB / 0.7363 GB, free: 0.7773 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). [/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/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/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). Notification: Performance of NFTyping.typeComponents: time 0.0005787/2.247, allocations: 107.2 kB / 0.7365 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001382/2.248, allocations: 318.7 kB / 0.7368 GB, free: 0.7656 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.03028/2.279, allocations: 11.76 MB / 0.7482 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001437/2.28, allocations: 1.117 MB / 0.7493 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006111/2.281, allocations: 0.5458 MB / 0.7499 GB, free: 436 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000553/2.281, allocations: 467.8 kB / 0.7503 GB, free: 436 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005068/2.282, allocations: 498.3 kB / 0.7508 GB, free: 436 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001513/2.282, allocations: 95.19 kB / 0.7509 GB, free: 432 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0308/2.313, allocations: 16.75 MB / 0.7672 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005039/2.313, allocations: 436.7 kB / 0.7676 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009794/2.314, allocations: 0.7259 MB / 0.7684 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02422/2.339, allocations: 9.719 MB / 0.7778 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/2.339, allocations: 0 / 0.7778 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.994e-06/2.339, allocations: 0 / 0.7778 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.346e-05/2.339, allocations: 0 / 0.7778 GB, free: 11.39 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.006772/2.345, allocations: 2.963 MB / 0.7807 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/2.346, allocations: 12.19 kB / 0.7808 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002566/2.346, allocations: 215.3 kB / 0.781 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009565/2.347, allocations: 0.8335 MB / 0.7818 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-05/2.347, allocations: 73.97 kB / 0.7818 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/2.347, allocations: 97.11 kB / 0.7819 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/2.349, allocations: 1.317 MB / 0.7832 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/2.349, allocations: 6.406 kB / 0.7832 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.949e-05/2.349, allocations: 38.94 kB / 0.7833 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/2.349, allocations: 26 kB / 0.7833 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/2.351, allocations: 1.377 MB / 0.7846 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1497/2.501, allocations: 66.91 MB / 0.85 GB, free: 6.418 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/2.503, allocations: 1.622 MB / 0.8516 GB, free: 4.914 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007328/2.504, allocations: 0.5081 MB / 0.8521 GB, free: 4.402 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2314/2.735, allocations: 111.3 MB / 0.9607 GB, free: 9.246 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/2.735, allocations: 41.69 kB / 0.9607 GB, free: 9.199 MB / 0.795 GB Notification: Performance of pre-optimization done (n=53): time 2.695e-06/2.735, allocations: 0 / 0.9607 GB, free: 9.199 MB / 0.795 GB Notification: Performance of matching and sorting (n=53): time 0.007542/2.743, allocations: 2.775 MB / 0.9635 GB, free: 6.383 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/2.743, allocations: 90.23 kB / 0.9635 GB, free: 6.277 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002557/2.745, allocations: 1.713 MB / 0.9652 GB, free: 4.527 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.162e-05/2.745, allocations: 29.7 kB / 0.9652 GB, free: 4.492 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007255/2.746, allocations: 0.876 MB / 0.9661 GB, free: 3.613 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/2.746, allocations: 180.3 kB / 0.9663 GB, free: 3.438 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/2.747, allocations: 158.5 kB / 0.9664 GB, free: 3.273 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001202/2.747, allocations: 341.9 kB / 0.9667 GB, free: 2.934 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008074/2.748, allocations: 0.5056 MB / 0.9672 GB, free: 2.43 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009207/2.749, allocations: 0.7605 MB / 0.968 GB, free: 1.566 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/2.75, allocations: 1.294 MB / 0.9692 GB, free: 196 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/2.75, allocations: 0 / 0.9692 GB, free: 196 kB / 0.795 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003204/2.753, allocations: 1.817 MB / 0.971 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/2.753, allocations: 15.78 kB / 0.971 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/2.754, allocations: 14.53 kB / 0.9711 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00851/2.762, allocations: 1.441 MB / 0.9725 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005892/2.763, allocations: 138.1 kB / 0.9726 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002584/2.765, allocations: 2.34 MB / 0.9749 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000904/2.766, allocations: 118.8 kB / 0.975 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.24e-05/2.766, allocations: 35.98 kB / 0.975 GB, free: 10.29 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 12 (sourcePQ1.C.ftype,centrifugalPump1.fluid,sink1.fluid,sourcePQ1.fluid1,sourcePQ.C.ftype,centrifugalPump.fluid,sink.fluid,sourcePQ.fluid1,sourcePQ1.C.diff_on_2,centrifugalPump1.C2.diff_on_1,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 (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,13), (2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0006758/2.767, allocations: 429.5 kB / 0.9754 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/2.767, allocations: 176.8 kB / 0.9756 GB, free: 9.699 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002736/2.77, allocations: 1.665 MB / 0.9772 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/2.77, allocations: 7.984 kB / 0.9772 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/2.77, allocations: 0 / 0.9772 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004335/2.771, allocations: 278.6 kB / 0.9775 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/2.771, allocations: 8 kB / 0.9775 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/2.771, allocations: 35.95 kB / 0.9775 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-05/2.771, allocations: 31.95 kB / 0.9776 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003734/2.775, allocations: 1.797 MB / 0.9793 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0027/2.778, allocations: 2.188 MB / 0.9815 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000695/2.778, allocations: 0.4919 MB / 0.9819 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001654/2.78, allocations: 1.155 MB / 0.9831 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of Backend: time 3.71e-07/2.78, allocations: 3.094 kB / 0.9831 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01528/2.795, allocations: 3.722 MB / 0.9867 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of SimCode: time 0.005122/2.801, allocations: 3.393 MB / 0.99 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of Templates: time 0.3349/3.135, allocations: 73.37 MB / 1.062 GB, free: 445.1 MB / 0.8419 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.pipe 2>&1)