Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.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.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8729/0.8729, allocations: 150.9 MB / 166.7 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003418, allocations: 23.97 kB / 204.8 MB, free: 9.984 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1851, allocations: 31.32 MB / 236.1 MB, free: 5.441 MB / 190.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.TestSimpleStaticCondenser): time 1.705/1.89, allocations: 295.7 MB / 0.5193 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6405/2.53, allocations: 188 MB / 0.7029 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006532/2.531, allocations: 17.69 kB / 0.7029 GB, free: 2.105 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/SimpleStaticCondenser.mo:65:3-66:55:writable] Warning: Connector Ec 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/HeatExchangers/SimpleStaticCondenser.mo:67:3-68:54:writable] Warning: Connector Ef 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/HeatExchangers/SimpleStaticCondenser.mo:69:3-70:51:writable] Warning: Connector Sf 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/HeatExchangers/SimpleStaticCondenser.mo:71:3-72:53:writable] Warning: Connector Sc 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.000733/2.532, allocations: 176.2 kB / 0.7031 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008292/2.533, allocations: 289.6 kB / 0.7034 GB, free: 2.105 MB / 0.5762 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. Notification: Performance of NFTyping.typeClassSections: time 0.03584/2.569, allocations: 10.37 MB / 0.7135 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00173/2.57, allocations: 1.021 MB / 0.7145 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005626/2.571, allocations: 434.2 kB / 0.7149 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006147/2.571, allocations: 421.5 kB / 0.7153 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004267/2.572, allocations: 388.4 kB / 0.7157 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.08e-05/2.572, allocations: 67 kB / 0.7157 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03733/2.609, allocations: 20.05 MB / 0.7353 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003344/2.61, allocations: 162.8 kB / 0.7355 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007952/2.611, allocations: 458.6 kB / 0.7359 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01377/2.624, allocations: 7.174 MB / 0.7429 GB, free: 420 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/2.624, allocations: 0 / 0.7429 GB, free: 420 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.485e-06/2.624, allocations: 1.969 kB / 0.7429 GB, free: 420 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.385e-05/2.624, allocations: 0 / 0.7429 GB, free: 420 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.007074/2.631, allocations: 2.188 MB / 0.745 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/2.632, allocations: 10.72 kB / 0.7451 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/2.632, allocations: 103.7 kB / 0.7452 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/2.632, allocations: 444.6 kB / 0.7456 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.288e-05/2.632, allocations: 53.34 kB / 0.7456 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.806e-05/2.632, allocations: 67.88 kB / 0.7457 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/2.634, allocations: 0.8255 MB / 0.7465 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/2.634, allocations: 2.109 kB / 0.7465 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/2.634, allocations: 27.41 kB / 0.7465 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/2.634, allocations: 32.08 kB / 0.7466 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007013/2.634, allocations: 0.5391 MB / 0.7471 GB, free: 14.36 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01816/2.653, allocations: 12.38 MB / 0.7592 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005599/2.653, allocations: 271.4 kB / 0.7594 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/2.653, allocations: 204.4 kB / 0.7596 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09732/2.751, allocations: 53.92 MB / 0.8123 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/2.751, allocations: 40.55 kB / 0.8123 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=86): time 3.807e-06/2.751, allocations: 3.984 kB / 0.8123 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86): time 0.001965/2.753, allocations: 0.946 MB / 0.8133 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/2.753, allocations: 51.41 kB / 0.8133 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005368/2.753, allocations: 491.2 kB / 0.8138 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/2.753, allocations: 29.52 kB / 0.8138 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000219/2.754, allocations: 378.1 kB / 0.8142 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/2.754, allocations: 280.8 kB / 0.8144 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/2.754, allocations: 131.7 kB / 0.8146 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001409/2.754, allocations: 382.6 kB / 0.8149 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/2.754, allocations: 162.8 kB / 0.8151 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/2.755, allocations: 359.8 kB / 0.8154 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006374/2.755, allocations: 0.5978 MB / 0.816 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/2.755, allocations: 0 / 0.816 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001122/2.757, allocations: 0.7344 MB / 0.8167 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/2.757, allocations: 12.16 kB / 0.8167 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/2.757, allocations: 8 kB / 0.8167 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/2.758, allocations: 337.6 kB / 0.8171 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/2.759, allocations: 65.31 kB / 0.8171 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009965/2.76, allocations: 1.296 MB / 0.8184 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003706/2.76, allocations: 81.91 kB / 0.8185 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/2.76, allocations: 27.88 kB / 0.8185 GB, free: 7.781 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 8 (sourceP1.C.ftype,sourceP.C.ftype,simpleStaticCondenser.fluid_c,simpleStaticCondenser.fluid_f,sinkP.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000273/2.76, allocations: 203.7 kB / 0.8187 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/2.76, allocations: 63.16 kB / 0.8187 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/2.762, allocations: 1.832 MB / 0.8205 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009289/2.763, allocations: 0.812 MB / 0.8213 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/2.763, allocations: 0 / 0.8213 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/2.763, allocations: 11.73 kB / 0.8213 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/2.766, allocations: 2.213 MB / 0.8235 GB, free: 4.129 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/2.766, allocations: 4 kB / 0.8235 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/2.766, allocations: 93.03 kB / 0.8236 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007863/2.767, allocations: 240.6 kB / 0.8238 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/2.767, allocations: 19.52 kB / 0.8238 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009867/2.768, allocations: 1.337 MB / 0.8251 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/2.768, allocations: 0 / 0.8251 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/2.769, allocations: 0.9893 MB / 0.8261 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/2.77, allocations: 212.7 kB / 0.8263 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.981e-05/2.77, allocations: 18.28 kB / 0.8263 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/2.77, allocations: 16.56 kB / 0.8264 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/2.77, allocations: 41.97 kB / 0.8264 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/2.77, allocations: 20.86 kB / 0.8264 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000477/2.771, allocations: 398.4 kB / 0.8268 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.203e-06/2.771, allocations: 0 / 0.8268 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.005405/2.776, allocations: 1.495 MB / 0.8283 GB, free: 15.88 MB / 0.67 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 (67): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008776/2.785, allocations: 2.212 MB / 0.8304 GB, free: 14.02 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002185/2.787, allocations: 0.9756 MB / 0.8314 GB, free: 13.27 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/2.787, allocations: 0 / 0.8314 GB, free: 13.27 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005553/2.788, allocations: 405.9 kB / 0.8318 GB, free: 13.02 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/2.79, allocations: 424.3 kB / 0.8322 GB, free: 12.68 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/2.792, allocations: 2.093 MB / 0.8342 GB, free: 10.75 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/2.793, allocations: 1.042 MB / 0.8352 GB, free: 9.688 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/2.793, allocations: 64.42 kB / 0.8353 GB, free: 9.625 MB / 0.67 GB Notification: Performance of SimCode: time 8.52e-07/2.793, allocations: 4 kB / 0.8353 GB, free: 9.621 MB / 0.67 GB Notification: Performance of Templates: time 0.05693/2.85, allocations: 42.04 MB / 0.8763 GB, free: 15.81 MB / 0.7169 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1)