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.8251/0.8251, allocations: 150.9 MB / 166.5 MB, free: 14.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.000336, allocations: 14.88 kB / 237.1 MB, free: 1.785 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05682/0.05717, allocations: 31.35 MB / 268.4 MB, free: 7.051 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.609/1.666, allocations: 294.9 MB / 0.5502 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.527/2.193, allocations: 187.4 MB / 0.7332 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003027/2.194, allocations: 7.656 kB / 0.7332 GB, free: 1.215 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.000159/2.194, allocations: 44.55 kB / 0.7333 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003332/2.194, allocations: 124.1 kB / 0.7334 GB, free: 1.211 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.02991/2.224, allocations: 11.34 MB / 0.7445 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006407/2.225, allocations: 433.2 kB / 0.7449 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002649/2.225, allocations: 213.4 kB / 0.7451 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/2.225, allocations: 174.4 kB / 0.7452 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/2.225, allocations: 191.6 kB / 0.7454 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.715e-05/2.225, allocations: 36.62 kB / 0.7455 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03661/2.262, allocations: 19.86 MB / 0.7649 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001977/2.262, allocations: 77.8 kB / 0.7649 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003194/2.262, allocations: 205.7 kB / 0.7651 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02504/2.288, allocations: 9.74 MB / 0.7746 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/2.288, allocations: 0 / 0.7746 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/2.288, allocations: 3.844 kB / 0.7746 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.757e-06/2.288, allocations: 0 / 0.7746 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.004977/2.293, allocations: 1.853 MB / 0.7764 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/2.293, allocations: 8.625 kB / 0.7765 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.897e-05/2.293, allocations: 51.38 kB / 0.7765 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/2.293, allocations: 309.8 kB / 0.7768 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/2.293, allocations: 30.03 kB / 0.7768 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/2.293, allocations: 35.88 kB / 0.7769 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005923/2.294, allocations: 384.7 kB / 0.7772 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/2.294, allocations: 8.359 kB / 0.7772 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/2.294, allocations: 14.69 kB / 0.7773 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/2.294, allocations: 8.438 kB / 0.7773 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004855/2.294, allocations: 253.9 kB / 0.7775 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008241/2.303, allocations: 6.162 MB / 0.7835 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/2.304, allocations: 308.5 kB / 0.7838 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/2.304, allocations: 60.58 kB / 0.7839 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1643/2.469, allocations: 82.5 MB / 0.8644 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/2.469, allocations: 36.38 kB / 0.8645 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=13): time 2.074e-06/2.469, allocations: 4 kB / 0.8645 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13): time 0.005128/2.474, allocations: 0.9146 MB / 0.8654 GB, free: 15 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/2.474, allocations: 56.5 kB / 0.8654 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003932/2.474, allocations: 310.3 kB / 0.8657 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/2.474, allocations: 25.7 kB / 0.8657 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/2.475, allocations: 242.3 kB / 0.866 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/2.475, allocations: 50.45 kB / 0.866 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.555e-05/2.475, allocations: 68.28 kB / 0.8661 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001222/2.475, allocations: 340.4 kB / 0.8664 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/2.475, allocations: 64.41 kB / 0.8665 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/2.475, allocations: 166.7 kB / 0.8666 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/2.476, allocations: 241.6 kB / 0.8669 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/2.476, allocations: 4 kB / 0.8669 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002404/2.478, allocations: 0.5631 MB / 0.8674 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/2.478, allocations: 8 kB / 0.8674 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/2.478, allocations: 4 kB / 0.8674 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007732/2.479, allocations: 160.3 kB / 0.8676 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/2.479, allocations: 39.08 kB / 0.8676 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008008/2.48, allocations: 0.6956 MB / 0.8683 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/2.48, allocations: 38.98 kB / 0.8683 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/2.48, allocations: 12 kB / 0.8683 GB, free: 12.25 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.0001679/2.48, allocations: 150.8 kB / 0.8685 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/2.48, allocations: 27.81 kB / 0.8685 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/2.483, allocations: 474.8 kB / 0.869 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/2.483, allocations: 1.203 kB / 0.869 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/2.483, allocations: 0 / 0.869 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/2.483, allocations: 8.078 kB / 0.869 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/2.483, allocations: 337.8 kB / 0.8693 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/2.483, allocations: 6.547 kB / 0.8693 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-05/2.483, allocations: 7.094 kB / 0.8693 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006901/2.484, allocations: 155 kB / 0.8695 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/2.484, allocations: 1.875 kB / 0.8695 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007374/2.485, allocations: 0.6813 MB / 0.8701 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/2.485, allocations: 4 kB / 0.8701 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/2.487, allocations: 478.1 kB / 0.8706 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/2.487, allocations: 107.2 kB / 0.8707 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/2.487, allocations: 5.562 kB / 0.8707 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/2.487, allocations: 9.797 kB / 0.8707 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/2.487, allocations: 4.609 kB / 0.8707 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/2.487, allocations: 9.375 kB / 0.8707 GB, free: 10 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002601/2.487, allocations: 228.3 kB / 0.8709 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/2.487, allocations: 3.938 kB / 0.8709 GB, free: 9.812 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004264/2.492, allocations: 1.453 MB / 0.8724 GB, free: 8.461 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.009278/2.501, allocations: 2.199 MB / 0.8745 GB, free: 6.562 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0007496/2.502, allocations: 201.9 kB / 0.8747 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/2.502, allocations: 0 / 0.8747 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002767/2.502, allocations: 89.09 kB / 0.8748 GB, free: 6.297 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005061/2.503, allocations: 73.66 kB / 0.8749 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/2.504, allocations: 0.5504 MB / 0.8754 GB, free: 5.672 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/2.504, allocations: 0.7717 MB / 0.8761 GB, free: 4.871 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001571/2.504, allocations: 38.91 kB / 0.8762 GB, free: 4.832 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/2.504, allocations: 23.44 kB / 0.8762 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of SimCode: time 4.2e-07/2.504, allocations: 0 / 0.8762 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of Templates: time 0.06178/2.566, allocations: 46.12 MB / 0.9212 GB, free: 6.73 MB / 0.7481 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)