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.7905/0.7905, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003255, allocations: 21.97 kB / 237.8 MB, free: 1.77 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05185/0.05219, 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.516/1.569, allocations: 294.9 MB / 0.5508 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4414/2.01, allocations: 187.4 MB / 0.7338 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002205/2.01, allocations: 7.406 kB / 0.7338 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.0001162/2.011, allocations: 44.86 kB / 0.7338 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002801/2.011, allocations: 124.8 kB / 0.734 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.02414/2.035, allocations: 11.34 MB / 0.745 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004983/2.035, allocations: 430.7 kB / 0.7454 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/2.036, allocations: 218.7 kB / 0.7456 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/2.036, allocations: 167.7 kB / 0.7458 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/2.036, allocations: 194.2 kB / 0.746 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.927e-05/2.036, allocations: 35.72 kB / 0.746 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02994/2.066, allocations: 19.89 MB / 0.7654 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/2.066, allocations: 77.91 kB / 0.7655 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002599/2.067, allocations: 209.4 kB / 0.7657 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01901/2.086, allocations: 9.719 MB / 0.7752 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/2.086, allocations: 1.203 kB / 0.7752 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.462e-06/2.086, allocations: 0 / 0.7752 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.867e-05/2.086, allocations: 2.5 kB / 0.7752 GB, free: 12.36 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.004487/2.09, allocations: 1.774 MB / 0.7769 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/2.09, allocations: 8.5 kB / 0.777 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.35e-05/2.09, allocations: 50.95 kB / 0.777 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/2.091, allocations: 320.2 kB / 0.7773 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/2.091, allocations: 26 kB / 0.7773 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/2.091, allocations: 37.72 kB / 0.7774 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005728/2.091, allocations: 379.5 kB / 0.7777 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/2.091, allocations: 5.203 kB / 0.7777 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/2.091, allocations: 15.12 kB / 0.7777 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/2.091, allocations: 8.594 kB / 0.7778 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/2.092, allocations: 262 kB / 0.778 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007601/2.099, allocations: 6.153 MB / 0.784 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/2.101, allocations: 304.3 kB / 0.7843 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/2.101, allocations: 63.47 kB / 0.7844 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1447/2.246, allocations: 82.5 MB / 0.8649 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/2.246, allocations: 33.69 kB / 0.865 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=13): time 1.964e-06/2.246, allocations: 0 / 0.865 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13): time 0.0049/2.251, allocations: 0.9114 MB / 0.8659 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/2.251, allocations: 55.41 kB / 0.8659 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/2.251, allocations: 306.9 kB / 0.8662 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/2.251, allocations: 28.89 kB / 0.8662 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/2.251, allocations: 245.8 kB / 0.8665 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/2.252, allocations: 46.27 kB / 0.8665 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.389e-05/2.252, allocations: 66.22 kB / 0.8666 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001128/2.252, allocations: 333.4 kB / 0.8669 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/2.252, allocations: 67.28 kB / 0.867 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/2.252, allocations: 164.2 kB / 0.8671 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/2.252, allocations: 241.4 kB / 0.8673 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/2.252, allocations: 3.188 kB / 0.8673 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002308/2.255, allocations: 0.5715 MB / 0.8679 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/2.255, allocations: 8 kB / 0.8679 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/2.255, allocations: 4 kB / 0.8679 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007405/2.256, allocations: 150.5 kB / 0.8681 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/2.256, allocations: 40.36 kB / 0.8681 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007621/2.256, allocations: 0.7009 MB / 0.8688 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/2.257, allocations: 35.66 kB / 0.8688 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/2.257, allocations: 18.5 kB / 0.8688 GB, free: 12.33 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.0001694/2.257, allocations: 152.9 kB / 0.869 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/2.257, allocations: 23.72 kB / 0.869 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/2.259, allocations: 478.1 kB / 0.8695 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/2.259, allocations: 0 / 0.8695 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/2.259, allocations: 3.188 kB / 0.8695 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/2.259, allocations: 4 kB / 0.8695 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/2.26, allocations: 341.5 kB / 0.8698 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/2.26, allocations: 3.984 kB / 0.8698 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.979e-05/2.26, allocations: 4 kB / 0.8698 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006125/2.26, allocations: 153.6 kB / 0.8699 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/2.26, allocations: 2.062 kB / 0.8699 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006146/2.261, allocations: 0.6777 MB / 0.8706 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/2.261, allocations: 3.281 kB / 0.8706 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/2.263, allocations: 477.9 kB / 0.8711 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/2.263, allocations: 115.5 kB / 0.8712 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/2.263, allocations: 5.203 kB / 0.8712 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/2.263, allocations: 7.109 kB / 0.8712 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/2.263, allocations: 8.484 kB / 0.8712 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/2.263, allocations: 7.938 kB / 0.8712 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002137/2.264, allocations: 221 kB / 0.8714 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/2.264, allocations: 0 / 0.8714 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003586/2.267, allocations: 1.44 MB / 0.8728 GB, free: 8.469 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.006475/2.274, allocations: 2.174 MB / 0.8749 GB, free: 6.559 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005785/2.274, allocations: 200.8 kB / 0.8751 GB, free: 6.375 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/2.274, allocations: 0 / 0.8751 GB, free: 6.375 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/2.274, allocations: 89.09 kB / 0.8752 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/2.275, allocations: 71.83 kB / 0.8753 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009582/2.276, allocations: 0.5597 MB / 0.8758 GB, free: 5.652 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/2.276, allocations: 0.7717 MB / 0.8766 GB, free: 4.852 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/2.276, allocations: 27.44 kB / 0.8766 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of SimCode: time 3.2e-07/2.276, allocations: 0 / 0.8766 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of Templates: time 0.03909/2.315, allocations: 29.01 MB / 0.9049 GB, free: 7.805 MB / 0.7325 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)