Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.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.TestFixedPowerHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8019/0.8019, allocations: 150.9 MB / 166.7 MB, free: 14.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003569, allocations: 19.98 kB / 204.8 MB, free: 10.08 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1907, allocations: 31.32 MB / 236.1 MB, free: 5.473 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.TestFixedPowerHeatExchanger): time 1.717/1.908, allocations: 295 MB / 0.5187 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1913/2.099, allocations: 184.2 MB / 0.6985 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000664/2.1, allocations: 11.94 kB / 0.6985 GB, free: 3.789 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:35:3-36:54: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/FixedPowerHeatExchanger.mo:37:3-38: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/FixedPowerHeatExchanger.mo:39:3-40: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/FixedPowerHeatExchanger.mo:41:3-42:52: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/SourcePQ.mo:74:3-75: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/Sink.mo:39:3-40: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.0006891/2.101, allocations: 136.2 kB / 0.6986 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008463/2.102, allocations: 226.2 kB / 0.6989 GB, free: 3.434 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.421/2.523, allocations: 9.664 MB / 0.7083 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001331/2.524, allocations: 0.8195 MB / 0.7091 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004622/2.525, allocations: 389.2 kB / 0.7095 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003749/2.525, allocations: 353.2 kB / 0.7098 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/2.525, allocations: 327 kB / 0.7101 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.941e-05/2.525, allocations: 61.69 kB / 0.7102 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03828/2.564, allocations: 19.38 MB / 0.7291 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003318/2.564, allocations: 148.7 kB / 0.7292 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006958/2.565, allocations: 384.6 kB / 0.7296 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01611/2.581, allocations: 6.869 MB / 0.7363 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/2.581, allocations: 1.094 kB / 0.7363 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.749e-06/2.581, allocations: 2.844 kB / 0.7363 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.559e-05/2.581, allocations: 0 / 0.7363 GB, free: 3.68 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.008983/2.59, allocations: 2.023 MB / 0.7383 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/2.59, allocations: 8.406 kB / 0.7383 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/2.59, allocations: 98.88 kB / 0.7384 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006606/2.591, allocations: 403.4 kB / 0.7388 GB, free: 18.26 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.788e-05/2.591, allocations: 53.81 kB / 0.7388 GB, free: 18.26 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.582e-05/2.591, allocations: 63.25 kB / 0.7389 GB, free: 18.26 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/2.592, allocations: 0.7009 MB / 0.7396 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/2.592, allocations: 0 / 0.7396 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.511e-05/2.592, allocations: 31.52 kB / 0.7396 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/2.592, allocations: 28.02 kB / 0.7396 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006124/2.593, allocations: 441.5 kB / 0.7401 GB, free: 18.1 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.01746/2.61, allocations: 11.97 MB / 0.7517 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/2.61, allocations: 126 kB / 0.7519 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/2.611, allocations: 96.17 kB / 0.752 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1514/2.762, allocations: 76.94 MB / 0.8271 GB, free: 12.11 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/2.762, allocations: 41.81 kB / 0.8271 GB, free: 12.06 MB / 0.67 GB Notification: Performance of pre-optimization done (n=46): time 3.757e-06/2.762, allocations: 0 / 0.8271 GB, free: 12.06 MB / 0.67 GB Notification: Performance of matching and sorting (n=46): time 0.0008167/2.763, allocations: 336 kB / 0.8274 GB, free: 11.82 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/2.763, allocations: 81.11 kB / 0.8275 GB, free: 11.72 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006171/2.764, allocations: 0.4894 MB / 0.828 GB, free: 11.33 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/2.764, allocations: 26.91 kB / 0.828 GB, free: 11.3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/2.764, allocations: 358.4 kB / 0.8284 GB, free: 11.02 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/2.764, allocations: 158.5 kB / 0.8285 GB, free: 10.89 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/2.764, allocations: 105.2 kB / 0.8286 GB, free: 10.81 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000157/2.764, allocations: 359.6 kB / 0.829 GB, free: 10.47 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/2.765, allocations: 99.09 kB / 0.8291 GB, free: 10.41 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/2.765, allocations: 284.2 kB / 0.8293 GB, free: 10.11 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004805/2.765, allocations: 425.9 kB / 0.8297 GB, free: 9.758 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/2.765, allocations: 4 kB / 0.8297 GB, free: 9.754 MB / 0.67 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0006767/2.766, allocations: 477.7 kB / 0.8302 GB, free: 9.43 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/2.766, allocations: 12.12 kB / 0.8302 GB, free: 9.418 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/2.766, allocations: 4 kB / 0.8302 GB, free: 9.414 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/2.766, allocations: 8 kB / 0.8302 GB, free: 9.406 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/2.766, allocations: 73.16 kB / 0.8303 GB, free: 9.344 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/2.766, allocations: 14.61 kB / 0.8303 GB, free: 9.332 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/2.767, allocations: 66.56 kB / 0.8304 GB, free: 9.27 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/2.767, allocations: 23.56 kB / 0.8304 GB, free: 9.25 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 8 (sourceP3.C.ftype,plateHeatExchanger.fluid_f,puitsP3.fluid,sourceP2.C.ftype,plateHeatExchanger.fluid_c,puitsP2.fluid,sourceP3.fluid1,sourceP2.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): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002208/2.767, allocations: 192.9 kB / 0.8306 GB, free: 9.098 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.813e-05/2.767, allocations: 55.28 kB / 0.8306 GB, free: 9.043 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007526/2.768, allocations: 0.6362 MB / 0.8312 GB, free: 8.613 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000501/2.768, allocations: 451.9 kB / 0.8317 GB, free: 8.301 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/2.768, allocations: 3.984 kB / 0.8317 GB, free: 8.297 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/2.768, allocations: 4 kB / 0.8317 GB, free: 8.293 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/2.77, allocations: 1.557 MB / 0.8332 GB, free: 7.059 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/2.77, allocations: 1.203 kB / 0.8332 GB, free: 7.059 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/2.77, allocations: 72.52 kB / 0.8333 GB, free: 6.996 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/2.77, allocations: 4 kB / 0.8333 GB, free: 6.992 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/2.77, allocations: 10.94 kB / 0.8333 GB, free: 6.988 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.414e-05/2.77, allocations: 3.984 kB / 0.8333 GB, free: 6.984 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/2.77, allocations: 4 kB / 0.8333 GB, free: 6.98 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000662/2.771, allocations: 0.6925 MB / 0.834 GB, free: 6.406 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/2.771, allocations: 170.1 kB / 0.8341 GB, free: 6.234 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.86e-05/2.771, allocations: 11 kB / 0.8341 GB, free: 6.23 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/2.772, allocations: 18.89 kB / 0.8342 GB, free: 6.219 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/2.772, allocations: 38.19 kB / 0.8342 GB, free: 6.188 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/2.772, allocations: 16.91 kB / 0.8342 GB, free: 6.176 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003536/2.772, allocations: 339.9 kB / 0.8345 GB, free: 5.918 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/2.772, allocations: 0 / 0.8345 GB, free: 5.918 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005057/2.777, allocations: 1.491 MB / 0.836 GB, free: 4.531 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (48): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00752/2.785, allocations: 2.235 MB / 0.8382 GB, free: 2.637 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001071/2.786, allocations: 0.5772 MB / 0.8387 GB, free: 2.203 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/2.786, allocations: 4.125 kB / 0.8387 GB, free: 2.199 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002549/2.786, allocations: 229 kB / 0.839 GB, free: 2.062 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/2.788, allocations: 298.8 kB / 0.8393 GB, free: 1.828 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/2.79, allocations: 1.654 MB / 0.8409 GB, free: 272 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000639/2.791, allocations: 0.9583 MB / 0.8418 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/2.791, allocations: 59.19 kB / 0.8419 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of SimCode: time 1.964e-06/2.791, allocations: 0 / 0.8419 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of Templates: time 0.05464/2.845, allocations: 31.7 MB / 0.8728 GB, free: 15.75 MB / 0.7169 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe 2>&1)