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.8353/0.8353, allocations: 150.9 MB / 167.2 MB, free: 14.28 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.000375, allocations: 21.53 kB / 237.8 MB, free: 1.82 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06073/0.06112, allocations: 31.34 MB / 269.1 MB, free: 7.031 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.641/1.702, allocations: 295 MB / 0.5509 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5631/2.265, allocations: 187.4 MB / 0.7339 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/2.265, allocations: 6.281 kB / 0.734 GB, free: 1.191 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.0001417/2.266, allocations: 47.22 kB / 0.734 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003022/2.266, allocations: 123.3 kB / 0.7341 GB, free: 1.188 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.03022/2.296, allocations: 11.55 MB / 0.7454 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005956/2.297, allocations: 436.2 kB / 0.7458 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002507/2.297, allocations: 217.8 kB / 0.746 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/2.297, allocations: 170.9 kB / 0.7462 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/2.297, allocations: 187.6 kB / 0.7464 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.445e-05/2.297, allocations: 38.62 kB / 0.7464 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03604/2.334, allocations: 19.89 MB / 0.7658 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001959/2.334, allocations: 80 kB / 0.7659 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003381/2.334, allocations: 203.2 kB / 0.7661 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02327/2.357, allocations: 9.734 MB / 0.7756 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/2.357, allocations: 4 kB / 0.7756 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/2.357, allocations: 0 / 0.7756 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.755e-05/2.357, allocations: 0 / 0.7756 GB, free: 12.34 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.004964/2.362, allocations: 1.855 MB / 0.7774 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/2.362, allocations: 7.5 kB / 0.7774 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/2.363, allocations: 45.56 kB / 0.7775 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000467/2.363, allocations: 323.2 kB / 0.7778 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/2.363, allocations: 25.22 kB / 0.7778 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/2.363, allocations: 34.12 kB / 0.7778 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/2.364, allocations: 385.8 kB / 0.7782 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/2.364, allocations: 7.078 kB / 0.7782 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/2.364, allocations: 17.38 kB / 0.7782 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/2.364, allocations: 10.12 kB / 0.7782 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005527/2.364, allocations: 249.5 kB / 0.7785 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008741/2.373, allocations: 6.155 MB / 0.7845 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/2.375, allocations: 317.8 kB / 0.7848 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/2.375, allocations: 60.23 kB / 0.7848 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1574/2.533, allocations: 82.5 MB / 0.8654 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/2.533, allocations: 33.66 kB / 0.8654 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=13): time 2.424e-06/2.533, allocations: 0 / 0.8654 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13): time 0.005191/2.538, allocations: 0.9115 MB / 0.8663 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/2.538, allocations: 55.41 kB / 0.8664 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/2.538, allocations: 310 kB / 0.8667 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/2.538, allocations: 25.7 kB / 0.8667 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/2.538, allocations: 243.6 kB / 0.8669 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/2.538, allocations: 49.91 kB / 0.867 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.505e-05/2.539, allocations: 69.45 kB / 0.8671 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001063/2.539, allocations: 336.6 kB / 0.8674 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/2.539, allocations: 68.47 kB / 0.8674 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/2.539, allocations: 164.8 kB / 0.8676 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004577/2.54, allocations: 238 kB / 0.8678 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/2.54, allocations: 5.312 kB / 0.8678 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00256/2.542, allocations: 0.5652 MB / 0.8684 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/2.542, allocations: 8 kB / 0.8684 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/2.542, allocations: 4 kB / 0.8684 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000827/2.543, allocations: 161.6 kB / 0.8685 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/2.543, allocations: 41.62 kB / 0.8686 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007989/2.544, allocations: 0.6939 MB / 0.8693 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/2.544, allocations: 41.67 kB / 0.8693 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/2.544, allocations: 18.28 kB / 0.8693 GB, free: 12.1 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.0001714/2.545, allocations: 146.4 kB / 0.8695 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/2.545, allocations: 27.81 kB / 0.8695 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002262/2.547, allocations: 477.5 kB / 0.8699 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/2.547, allocations: 0 / 0.8699 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/2.547, allocations: 0 / 0.8699 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 9.932e-05/2.547, allocations: 119.6 kB / 0.8701 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/2.547, allocations: 1.062 kB / 0.8701 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/2.547, allocations: 7.562 kB / 0.8701 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/2.547, allocations: 19.95 kB / 0.8701 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008962/2.548, allocations: 325.3 kB / 0.8704 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004583/2.549, allocations: 382.9 kB / 0.8708 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001125/2.549, allocations: 35.48 kB / 0.8708 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002243/2.549, allocations: 220.8 kB / 0.871 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of Backend: time 1.193e-06/2.549, allocations: 3.938 kB / 0.871 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01428/2.563, allocations: 3.571 MB / 0.8745 GB, free: 7.438 MB / 0.7012 GB Notification: Performance of SimCode: time 0.001422/2.565, allocations: 1.107 MB / 0.8756 GB, free: 6.301 MB / 0.7012 GB Notification: Performance of Templates: time 0.09803/2.663, allocations: 72.09 MB / 0.946 GB, free: 14.22 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)