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.7882/0.7882, allocations: 150.9 MB / 167.2 MB, free: 14.51 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003166, allocations: 21.2 kB / 237.8 MB, free: 1.781 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04754/0.04787, allocations: 31.35 MB / 269.1 MB, free: 7.039 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.542/1.59, allocations: 294.9 MB / 0.5508 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4522/2.042, allocations: 187.4 MB / 0.7338 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/2.043, allocations: 6.625 kB / 0.7338 GB, free: 1.172 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.0001517/2.043, allocations: 49.08 kB / 0.7338 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000349/2.043, allocations: 115.6 kB / 0.7339 GB, free: 1.168 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.02723/2.07, allocations: 11.34 MB / 0.745 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005518/2.071, allocations: 432.1 kB / 0.7454 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003015/2.071, allocations: 212.7 kB / 0.7456 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/2.072, allocations: 176.4 kB / 0.7458 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/2.072, allocations: 191.1 kB / 0.746 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.745e-05/2.072, allocations: 35.06 kB / 0.746 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03171/2.104, allocations: 19.88 MB / 0.7654 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/2.104, allocations: 82.53 kB / 0.7655 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002604/2.104, allocations: 207.3 kB / 0.7657 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02103/2.125, allocations: 9.722 MB / 0.7752 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/2.125, allocations: 3.438 kB / 0.7752 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.054e-06/2.125, allocations: 0 / 0.7752 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.597e-05/2.125, allocations: 0 / 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.004756/2.13, allocations: 1.771 MB / 0.7769 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/2.13, allocations: 16.92 kB / 0.777 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/2.13, allocations: 45.88 kB / 0.777 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/2.131, allocations: 316 kB / 0.7773 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/2.131, allocations: 28.56 kB / 0.7773 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/2.131, allocations: 38.2 kB / 0.7774 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005998/2.131, allocations: 385.9 kB / 0.7777 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/2.131, allocations: 6.469 kB / 0.7777 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/2.131, allocations: 14.16 kB / 0.7777 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/2.131, allocations: 10.12 kB / 0.7778 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/2.132, allocations: 255.1 kB / 0.778 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008299/2.14, allocations: 6.152 MB / 0.784 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/2.142, allocations: 308.5 kB / 0.7843 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/2.142, allocations: 59.66 kB / 0.7844 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1604/2.302, allocations: 82.5 MB / 0.8649 GB, free: 12 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/2.302, allocations: 37.75 kB / 0.865 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/2.302, allocations: 0 / 0.865 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13): time 0.005107/2.307, allocations: 0.9123 MB / 0.8659 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/2.308, allocations: 51.41 kB / 0.8659 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004371/2.308, allocations: 314.1 kB / 0.8662 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/2.308, allocations: 26.91 kB / 0.8662 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/2.308, allocations: 238.2 kB / 0.8665 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/2.308, allocations: 50.12 kB / 0.8665 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/2.308, allocations: 62.73 kB / 0.8666 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001191/2.308, allocations: 336.6 kB / 0.8669 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/2.309, allocations: 71.67 kB / 0.867 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/2.309, allocations: 164.3 kB / 0.8671 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/2.309, allocations: 237 kB / 0.8673 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/2.309, allocations: 0 / 0.8673 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002409/2.312, allocations: 0.5671 MB / 0.8679 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/2.312, allocations: 8 kB / 0.8679 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/2.312, allocations: 7.984 kB / 0.8679 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007891/2.312, allocations: 150.3 kB / 0.8681 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/2.313, allocations: 40.8 kB / 0.8681 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007986/2.313, allocations: 0.6998 MB / 0.8688 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/2.314, allocations: 39.84 kB / 0.8688 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/2.314, allocations: 9.875 kB / 0.8688 GB, free: 12.36 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.0001769/2.314, allocations: 159 kB / 0.869 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.78e-05/2.314, allocations: 23.72 kB / 0.869 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/2.316, allocations: 484.3 kB / 0.8695 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/2.316, allocations: 0 / 0.8695 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/2.316, allocations: 0.8125 kB / 0.8695 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/2.316, allocations: 0 / 0.8695 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/2.317, allocations: 339.8 kB / 0.8698 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/2.317, allocations: 0 / 0.8698 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/2.317, allocations: 4 kB / 0.8698 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006413/2.317, allocations: 160 kB / 0.8699 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/2.317, allocations: 3.562 kB / 0.8699 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006967/2.318, allocations: 0.6842 MB / 0.8706 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/2.318, allocations: 0 / 0.8706 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/2.32, allocations: 470.7 kB / 0.8711 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/2.32, allocations: 115.4 kB / 0.8712 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/2.32, allocations: 9.234 kB / 0.8712 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/2.32, allocations: 2.969 kB / 0.8712 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/2.32, allocations: 8.609 kB / 0.8712 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/2.32, allocations: 13.06 kB / 0.8712 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002156/2.321, allocations: 228 kB / 0.8714 GB, free: 9.918 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/2.321, allocations: 192 / 0.8714 GB, free: 9.918 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003343/2.324, allocations: 1.432 MB / 0.8728 GB, free: 8.484 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.006274/2.33, allocations: 2.179 MB / 0.8749 GB, free: 6.57 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005788/2.331, allocations: 193.5 kB / 0.8751 GB, free: 6.395 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/2.331, allocations: 4.25 kB / 0.8751 GB, free: 6.391 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002488/2.331, allocations: 91.12 kB / 0.8752 GB, free: 6.309 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/2.332, allocations: 67.95 kB / 0.8753 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008963/2.333, allocations: 0.5513 MB / 0.8758 GB, free: 5.676 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/2.333, allocations: 0.7787 MB / 0.8766 GB, free: 4.871 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/2.333, allocations: 27.44 kB / 0.8766 GB, free: 4.848 MB / 0.7012 GB Notification: Performance of SimCode: time 3e-07/2.333, allocations: 0 / 0.8766 GB, free: 4.848 MB / 0.7012 GB Notification: Performance of Templates: time 0.03596/2.369, allocations: 28.97 MB / 0.9049 GB, free: 7.871 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)