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.907/0.907, allocations: 150.9 MB / 167.1 MB, free: 14.47 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003145, allocations: 19.98 kB / 206 MB, free: 9.004 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 31.32 MB / 237.3 MB, free: 5.719 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.561/1.693, allocations: 295.9 MB / 0.5207 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1776/1.87, allocations: 186.1 MB / 0.7025 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003633/1.871, allocations: 19.88 kB / 0.7025 GB, free: 1.258 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.000449/1.871, allocations: 152.1 kB / 0.7026 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004954/1.872, allocations: 261.9 kB / 0.7029 GB, free: 0.8516 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.2799/2.152, allocations: 10.98 MB / 0.7136 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008444/2.153, allocations: 0.8232 MB / 0.7144 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003644/2.153, allocations: 387.6 kB / 0.7148 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003192/2.153, allocations: 346.4 kB / 0.7151 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002898/2.154, allocations: 323.3 kB / 0.7154 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.018e-05/2.154, allocations: 61.94 kB / 0.7155 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02923/2.183, allocations: 19.47 MB / 0.7345 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002261/2.183, allocations: 141 kB / 0.7346 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005581/2.184, allocations: 386.7 kB / 0.735 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0188/2.202, allocations: 9.92 MB / 0.7447 GB, free: 132 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/2.203, allocations: 0 / 0.7447 GB, free: 132 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/2.203, allocations: 0.9688 kB / 0.7447 GB, free: 132 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.134e-05/2.203, allocations: 0 / 0.7447 GB, free: 132 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.00451/2.207, allocations: 2.021 MB / 0.7466 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/2.207, allocations: 11.59 kB / 0.7467 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/2.207, allocations: 92.38 kB / 0.7467 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000542/2.208, allocations: 429.6 kB / 0.7472 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/2.208, allocations: 53.59 kB / 0.7472 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.899e-05/2.208, allocations: 67.66 kB / 0.7473 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000913/2.209, allocations: 0.696 MB / 0.748 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/2.209, allocations: 6.688 kB / 0.748 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/2.209, allocations: 27.73 kB / 0.748 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/2.209, allocations: 26.67 kB / 0.748 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005985/2.21, allocations: 438.2 kB / 0.7484 GB, free: 14.21 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.01564/2.225, allocations: 11.95 MB / 0.7601 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/2.225, allocations: 125.9 kB / 0.7602 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/2.226, allocations: 96.2 kB / 0.7603 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.155/2.381, allocations: 77.4 MB / 0.8359 GB, free: 5.094 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/2.381, allocations: 34.5 kB / 0.8359 GB, free: 5.051 MB / 0.67 GB Notification: Performance of pre-optimization done (n=46): time 2.365e-06/2.381, allocations: 0 / 0.8359 GB, free: 5.051 MB / 0.67 GB Notification: Performance of matching and sorting (n=46): time 0.0006827/2.381, allocations: 339.1 kB / 0.8362 GB, free: 4.809 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/2.381, allocations: 81.11 kB / 0.8363 GB, free: 4.711 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005437/2.382, allocations: 0.4935 MB / 0.8368 GB, free: 4.32 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/2.382, allocations: 25.7 kB / 0.8368 GB, free: 4.289 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/2.382, allocations: 355.9 kB / 0.8372 GB, free: 4.012 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.323e-05/2.382, allocations: 151.3 kB / 0.8373 GB, free: 3.879 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/2.382, allocations: 108.2 kB / 0.8374 GB, free: 3.801 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001216/2.383, allocations: 359.6 kB / 0.8378 GB, free: 3.461 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/2.383, allocations: 101.5 kB / 0.8379 GB, free: 3.402 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/2.383, allocations: 284 kB / 0.8381 GB, free: 3.098 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004625/2.383, allocations: 427.8 kB / 0.8385 GB, free: 2.742 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/2.383, allocations: 4 kB / 0.8385 GB, free: 2.738 MB / 0.67 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0006711/2.384, allocations: 463.2 kB / 0.839 GB, free: 2.422 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/2.384, allocations: 4 kB / 0.839 GB, free: 2.418 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/2.384, allocations: 8 kB / 0.839 GB, free: 2.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/2.384, allocations: 8.875 kB / 0.839 GB, free: 2.402 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/2.384, allocations: 84.75 kB / 0.8391 GB, free: 2.332 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/2.385, allocations: 15.08 kB / 0.8391 GB, free: 2.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/2.385, allocations: 70.06 kB / 0.8392 GB, free: 2.258 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/2.385, allocations: 16 kB / 0.8392 GB, free: 2.242 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.0001947/2.385, allocations: 191.4 kB / 0.8394 GB, free: 2.09 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.259e-05/2.385, allocations: 55.28 kB / 0.8394 GB, free: 2.035 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007093/2.386, allocations: 0.633 MB / 0.84 GB, free: 1.609 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004733/2.386, allocations: 459.9 kB / 0.8405 GB, free: 1.289 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/2.386, allocations: 0 / 0.8405 GB, free: 1.289 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/2.386, allocations: 0 / 0.8405 GB, free: 1.289 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/2.388, allocations: 1.537 MB / 0.842 GB, free: 72 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/2.388, allocations: 4 kB / 0.842 GB, free: 68 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/2.388, allocations: 70.14 kB / 0.842 GB, free: 8 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/2.388, allocations: 0 / 0.842 GB, free: 8 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/2.388, allocations: 16.08 kB / 0.8421 GB, free: 0 / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.909e-05/2.388, allocations: 8.297 kB / 0.8421 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/2.388, allocations: 8 kB / 0.8421 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006067/2.389, allocations: 0.6851 MB / 0.8427 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/2.389, allocations: 181.5 kB / 0.8429 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.151e-05/2.389, allocations: 15.31 kB / 0.8429 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/2.389, allocations: 14.98 kB / 0.8429 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/2.389, allocations: 23.59 kB / 0.843 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/2.389, allocations: 15.38 kB / 0.843 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003341/2.39, allocations: 343.5 kB / 0.8433 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of sort global known variables: time 6.61e-07/2.39, allocations: 0 / 0.8433 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003553/2.393, allocations: 1.491 MB / 0.8448 GB, free: 13.54 MB / 0.6856 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.005488/2.399, allocations: 2.15 MB / 0.8469 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007896/2.4, allocations: 0.5855 MB / 0.8474 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/2.4, allocations: 0 / 0.8474 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002324/2.4, allocations: 231.2 kB / 0.8477 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/2.401, allocations: 301.4 kB / 0.8479 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/2.403, allocations: 1.251 MB / 0.8492 GB, free: 9.727 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/2.403, allocations: 0.9671 MB / 0.8501 GB, free: 8.734 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002814/2.404, allocations: 96.44 kB / 0.8502 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.343e-05/2.404, allocations: 51.44 kB / 0.8503 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of SimCode: time 2.6e-07/2.404, allocations: 0 / 0.8503 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of Templates: time 0.06364/2.467, allocations: 50.92 MB / 0.9 GB, free: 5.859 MB / 0.7325 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 -s gbode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe 2>&1)