Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.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.TestStaticPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8505/0.8505, allocations: 150.9 MB / 166.7 MB, free: 14.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 15.97 kB / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1766, allocations: 31.33 MB / 236.1 MB, free: 5.445 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.TestStaticPlateHeatExchanger): time 1.766/1.943, allocations: 295.7 MB / 0.5193 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2251/2.168, allocations: 186.7 MB / 0.7017 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008169/2.169, allocations: 15.94 kB / 0.7017 GB, free: 0.5156 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticPlateHeatExchanger.mo:91:3-92: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/StaticPlateHeatExchanger.mo:93:3-94: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/StaticPlateHeatExchanger.mo:95:3-96:52: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/StaticPlateHeatExchanger.mo:97:3-98:51: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.0006154/2.17, allocations: 148.1 kB / 0.7018 GB, free: 380 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3906/2.56, allocations: 284.6 kB / 0.7021 GB, free: 2.344 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.0416/2.602, allocations: 10.25 MB / 0.7121 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001833/2.604, allocations: 1.121 MB / 0.7132 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006235/2.605, allocations: 470.3 kB / 0.7136 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006557/2.605, allocations: 469.1 kB / 0.7141 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004931/2.606, allocations: 446.4 kB / 0.7145 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.987e-05/2.606, allocations: 82.16 kB / 0.7146 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0379/2.644, allocations: 19.37 MB / 0.7335 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000445/2.644, allocations: 193.6 kB / 0.7337 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009427/2.645, allocations: 485.9 kB / 0.7342 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01669/2.662, allocations: 7.119 MB / 0.7411 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/2.662, allocations: 4.938 kB / 0.7411 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.705e-06/2.662, allocations: 3.438 kB / 0.7411 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.77e-05/2.662, allocations: 0 / 0.7411 GB, free: 1.086 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.009286/2.671, allocations: 2.246 MB / 0.7433 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/2.671, allocations: 12 kB / 0.7433 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/2.672, allocations: 99.91 kB / 0.7434 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007096/2.672, allocations: 472.4 kB / 0.7439 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/2.673, allocations: 151.1 kB / 0.744 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.834e-05/2.673, allocations: 75.38 kB / 0.7441 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/2.674, allocations: 0.9239 MB / 0.745 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/2.674, allocations: 4.594 kB / 0.745 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/2.674, allocations: 30.38 kB / 0.745 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-05/2.674, allocations: 34.64 kB / 0.7451 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/2.676, allocations: 0.6678 MB / 0.7457 GB, free: 14.85 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.019/2.695, allocations: 12.81 MB / 0.7582 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/2.696, allocations: 453.1 kB / 0.7587 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004981/2.696, allocations: 262.8 kB / 0.7589 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08923/2.786, allocations: 52.22 MB / 0.8099 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/2.786, allocations: 40.72 kB / 0.8099 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=88): time 4.379e-06/2.786, allocations: 0 / 0.8099 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88): time 0.01652/2.802, allocations: 3.024 MB / 0.8129 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/2.802, allocations: 55.41 kB / 0.813 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006477/2.803, allocations: 0.4901 MB / 0.8134 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.972e-05/2.803, allocations: 37.08 kB / 0.8135 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/2.803, allocations: 386.7 kB / 0.8138 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/2.803, allocations: 296.2 kB / 0.8141 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/2.804, allocations: 147.1 kB / 0.8143 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.00016/2.804, allocations: 372 kB / 0.8146 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005017/2.804, allocations: 235.2 kB / 0.8148 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006639/2.805, allocations: 422.9 kB / 0.8152 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/2.806, allocations: 0.6997 MB / 0.8159 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.413e-06/2.806, allocations: 8 kB / 0.8159 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002689/2.809, allocations: 1.096 MB / 0.817 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/2.809, allocations: 8 kB / 0.817 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/2.809, allocations: 8 kB / 0.817 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002984/2.812, allocations: 0.9458 MB / 0.8179 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/2.812, allocations: 58.97 kB / 0.818 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/2.814, allocations: 1.409 MB / 0.8194 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005896/2.815, allocations: 101.9 kB / 0.8195 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.439e-05/2.815, allocations: 31.67 kB / 0.8195 GB, free: 6.633 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 (sourceP3.C.ftype,sourceP2.C.ftype,plateHeatExchanger.fluid_c,plateHeatExchanger.fluid_f,puitsP2.fluid,puitsP3.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 (38): * Single equations (assignments): 37 * 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 {(4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.0003146/2.815, allocations: 206.2 kB / 0.8197 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/2.815, allocations: 63.16 kB / 0.8198 GB, free: 6.414 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002458/2.818, allocations: 1.764 MB / 0.8215 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001863/2.82, allocations: 1.199 MB / 0.8227 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/2.82, allocations: 7.938 kB / 0.8227 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/2.82, allocations: 4.078 kB / 0.8227 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007163/2.827, allocations: 3.045 MB / 0.8256 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/2.827, allocations: 0 / 0.8256 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/2.827, allocations: 96.78 kB / 0.8257 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002143/2.829, allocations: 0.7629 MB / 0.8265 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.883e-05/2.83, allocations: 17.94 kB / 0.8265 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/2.832, allocations: 1.494 MB / 0.8279 GB, free: 396 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/2.832, allocations: 0 / 0.8279 GB, free: 396 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005101/2.837, allocations: 1.61 MB / 0.8295 GB, free: 15.17 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004226/2.837, allocations: 231.7 kB / 0.8297 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/2.837, allocations: 15.5 kB / 0.8298 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004177/2.838, allocations: 35.44 kB / 0.8298 GB, free: 14.93 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/2.838, allocations: 56.8 kB / 0.8298 GB, free: 14.88 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/2.838, allocations: 21.56 kB / 0.8299 GB, free: 14.86 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004536/2.838, allocations: 369.3 kB / 0.8302 GB, free: 14.58 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/2.838, allocations: 1.094 kB / 0.8302 GB, free: 14.58 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00525/2.844, allocations: 1.588 MB / 0.8318 GB, free: 13 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 (62): * Single equations (assignments): 61 * 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 {(4,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008118/2.852, allocations: 2.314 MB / 0.834 GB, free: 11 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002883/2.855, allocations: 1.123 MB / 0.8351 GB, free: 9.855 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/2.855, allocations: 3.938 kB / 0.8351 GB, free: 9.852 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/2.856, allocations: 0.5156 MB / 0.8356 GB, free: 9.344 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/2.858, allocations: 416.4 kB / 0.836 GB, free: 8.953 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003302/2.861, allocations: 2.265 MB / 0.8382 GB, free: 6.668 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006118/2.862, allocations: 1.05 MB / 0.8393 GB, free: 5.586 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/2.862, allocations: 59.44 kB / 0.8393 GB, free: 5.527 MB / 0.67 GB Notification: Performance of SimCode: time 8.71e-07/2.862, allocations: 0 / 0.8393 GB, free: 5.527 MB / 0.67 GB Notification: Performance of Templates: time 0.05675/2.919, allocations: 38.57 MB / 0.877 GB, free: 15.01 MB / 0.7169 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe 2>&1)