Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.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.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7971/0.7971, allocations: 150.9 MB / 167.2 MB, free: 14.48 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003451, allocations: 22.73 kB / 237.8 MB, free: 1.777 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05286/0.05322, allocations: 31.34 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.TestStaticCentrifugalPump1): time 1.582/1.635, allocations: 294.9 MB / 0.5508 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4888/2.124, allocations: 187.4 MB / 0.7338 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/2.124, allocations: 8.5 kB / 0.7338 GB, free: 1.211 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StaticCentrifugalPump.mo:63:3-64: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/StaticCentrifugalPump.mo:65:3-66: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/BoundaryConditions/SourceP.mo:58:3-59: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/SinkP.mo:46:3-47: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.0001376/2.124, allocations: 41.23 kB / 0.7338 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000296/2.125, allocations: 126.8 kB / 0.734 GB, free: 1.207 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.02878/2.153, allocations: 11.33 MB / 0.745 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005411/2.154, allocations: 433.6 kB / 0.7454 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002667/2.154, allocations: 220.1 kB / 0.7456 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/2.154, allocations: 166.8 kB / 0.7458 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/2.155, allocations: 190 kB / 0.746 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.191e-05/2.155, allocations: 36.31 kB / 0.746 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03616/2.191, allocations: 19.88 MB / 0.7654 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/2.191, allocations: 82.31 kB / 0.7655 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002903/2.191, allocations: 205.4 kB / 0.7657 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02374/2.215, allocations: 9.717 MB / 0.7752 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/2.215, allocations: 4 kB / 0.7752 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.955e-06/2.215, allocations: 3.844 kB / 0.7752 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.456e-06/2.215, allocations: 1.203 kB / 0.7752 GB, free: 12.35 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.005253/2.22, allocations: 1.779 MB / 0.7769 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/2.22, allocations: 6.875 kB / 0.7769 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.619e-05/2.221, allocations: 47.48 kB / 0.777 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/2.221, allocations: 321.4 kB / 0.7773 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/2.221, allocations: 27.25 kB / 0.7773 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/2.221, allocations: 34.38 kB / 0.7774 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005604/2.222, allocations: 384.4 kB / 0.7777 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/2.222, allocations: 0 / 0.7777 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/2.222, allocations: 15.31 kB / 0.7777 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/2.222, allocations: 8.656 kB / 0.7777 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004983/2.222, allocations: 264.4 kB / 0.778 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00833/2.231, allocations: 6.145 MB / 0.784 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/2.232, allocations: 311.7 kB / 0.7843 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/2.232, allocations: 54.38 kB / 0.7844 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1615/2.394, allocations: 82.51 MB / 0.8649 GB, free: 4 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/2.394, allocations: 36.44 kB / 0.865 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=13): time 4.248e-06/2.394, allocations: 0 / 0.865 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13): time 0.005441/2.399, allocations: 0.9156 MB / 0.8659 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/2.4, allocations: 51.41 kB / 0.8659 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003947/2.4, allocations: 314.3 kB / 0.8662 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/2.4, allocations: 25.7 kB / 0.8662 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/2.4, allocations: 238.7 kB / 0.8665 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/2.4, allocations: 47.3 kB / 0.8665 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-05/2.4, allocations: 62.11 kB / 0.8666 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001121/2.4, allocations: 344.5 kB / 0.8669 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/2.401, allocations: 64.41 kB / 0.867 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/2.401, allocations: 164.1 kB / 0.8671 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003699/2.401, allocations: 248.7 kB / 0.8673 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/2.401, allocations: 0 / 0.8673 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002525/2.404, allocations: 0.5703 MB / 0.8679 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/2.404, allocations: 4 kB / 0.8679 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/2.404, allocations: 4 kB / 0.8679 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007856/2.405, allocations: 151.3 kB / 0.8681 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/2.405, allocations: 44.31 kB / 0.8681 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007857/2.405, allocations: 0.6897 MB / 0.8688 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/2.406, allocations: 39.69 kB / 0.8688 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/2.406, allocations: 13.88 kB / 0.8688 GB, free: 12.34 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,StaticCentrifugalPump1.fluid,sinkP.fluid,sourceP.fluid1,sourceP.C.diff_on_2,StaticCentrifugalPump1.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001722/2.406, allocations: 149 kB / 0.869 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/2.406, allocations: 27.72 kB / 0.869 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/2.408, allocations: 487.7 kB / 0.8695 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/2.408, allocations: 0 / 0.8695 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/2.408, allocations: 0 / 0.8695 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/2.409, allocations: 111.3 kB / 0.8696 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/2.409, allocations: 5.25 kB / 0.8696 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/2.409, allocations: 5.234 kB / 0.8696 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/2.409, allocations: 19.48 kB / 0.8696 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009124/2.41, allocations: 321.8 kB / 0.8699 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004635/2.41, allocations: 386.8 kB / 0.8703 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001064/2.41, allocations: 42.81 kB / 0.8703 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002129/2.411, allocations: 214.4 kB / 0.8705 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of Backend: time 4.71e-07/2.411, allocations: 0 / 0.8705 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01399/2.425, allocations: 3.542 MB / 0.874 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of SimCode: time 0.001481/2.426, allocations: 1.083 MB / 0.875 GB, free: 6.695 MB / 0.7012 GB Notification: Performance of Templates: time 0.09335/2.519, allocations: 72.1 MB / 0.9454 GB, free: 14.61 MB / 0.7794 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1)