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.8167/0.8167, allocations: 150.9 MB / 167.2 MB, free: 14.56 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003174/0.0003175, allocations: 20.02 kB / 237.8 MB, free: 1.723 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05624/0.05657, allocations: 31.34 MB / 269.1 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.TestFixedPowerHeatExchanger): time 1.663/1.719, allocations: 296.1 MB / 0.552 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5214/2.241, allocations: 186.1 MB / 0.7337 GB, free: 376 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003955/2.241, allocations: 15.78 kB / 0.7337 GB, free: 376 kB / 0.5919 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.0004649/2.242, allocations: 158.9 kB / 0.7339 GB, free: 376 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004489/2.242, allocations: 259.4 kB / 0.7341 GB, free: 372 kB / 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. Notification: Performance of NFTyping.typeClassSections: time 0.03243/2.275, allocations: 10.99 MB / 0.7449 GB, free: 144 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001381/2.276, allocations: 0.8288 MB / 0.7457 GB, free: 140 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005426/2.276, allocations: 382 kB / 0.7461 GB, free: 76 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003713/2.277, allocations: 354.8 kB / 0.7464 GB, free: 76 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003662/2.277, allocations: 325 kB / 0.7467 GB, free: 76 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.712e-05/2.277, allocations: 59.62 kB / 0.7468 GB, free: 76 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04334/2.321, allocations: 19.5 MB / 0.7658 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003067/2.321, allocations: 145.3 kB / 0.7659 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007492/2.322, allocations: 379.5 kB / 0.7663 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02231/2.344, allocations: 9.916 MB / 0.776 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/2.344, allocations: 0 / 0.776 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/2.344, allocations: 0 / 0.776 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.147e-05/2.344, allocations: 0 / 0.776 GB, free: 10.68 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.004807/2.349, allocations: 2.022 MB / 0.778 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/2.349, allocations: 14.19 kB / 0.778 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/2.349, allocations: 86 kB / 0.7781 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/2.35, allocations: 433.5 kB / 0.7785 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.966e-05/2.35, allocations: 56.61 kB / 0.7785 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.766e-05/2.35, allocations: 67 kB / 0.7786 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008247/2.351, allocations: 0.7026 MB / 0.7793 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/2.351, allocations: 2.344 kB / 0.7793 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/2.351, allocations: 30.09 kB / 0.7793 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/2.351, allocations: 27.8 kB / 0.7793 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005554/2.351, allocations: 435.3 kB / 0.7797 GB, free: 8.738 MB / 0.6075 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.01427/2.365, allocations: 11.94 MB / 0.7914 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/2.366, allocations: 135.2 kB / 0.7915 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/2.366, allocations: 96.55 kB / 0.7916 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1444/2.51, allocations: 77.4 MB / 0.8672 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/2.51, allocations: 30.56 kB / 0.8672 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=46): time 3.015e-06/2.51, allocations: 5.203 kB / 0.8672 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of matching and sorting (n=46): time 0.0007194/2.511, allocations: 321.3 kB / 0.8676 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/2.511, allocations: 84.3 kB / 0.8676 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006049/2.512, allocations: 499.7 kB / 0.8681 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/2.512, allocations: 29.39 kB / 0.8681 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/2.512, allocations: 363 kB / 0.8685 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/2.512, allocations: 155.7 kB / 0.8686 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/2.512, allocations: 101.2 kB / 0.8687 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001582/2.512, allocations: 375 kB / 0.8691 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/2.513, allocations: 102.5 kB / 0.8692 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/2.513, allocations: 281 kB / 0.8695 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005169/2.513, allocations: 426.3 kB / 0.8699 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/2.513, allocations: 0 / 0.8699 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0007637/2.514, allocations: 463.5 kB / 0.8703 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/2.514, allocations: 8 kB / 0.8703 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/2.514, allocations: 12.02 kB / 0.8703 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/2.514, allocations: 8 kB / 0.8703 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/2.515, allocations: 76.02 kB / 0.8704 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/2.515, allocations: 10.16 kB / 0.8704 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/2.515, allocations: 67.12 kB / 0.8705 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/2.515, allocations: 23.98 kB / 0.8705 GB, free: 10.39 MB / 0.7012 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.0002556/2.515, allocations: 193.8 kB / 0.8707 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/2.515, allocations: 55.34 kB / 0.8707 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000764/2.516, allocations: 0.6314 MB / 0.8714 GB, free: 9.504 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005267/2.517, allocations: 462.5 kB / 0.8718 GB, free: 9.051 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/2.517, allocations: 5.875 kB / 0.8718 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/2.517, allocations: 3.984 kB / 0.8718 GB, free: 9.043 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/2.519, allocations: 1.537 MB / 0.8733 GB, free: 7.477 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/2.519, allocations: 1.094 kB / 0.8733 GB, free: 7.477 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/2.519, allocations: 68.66 kB / 0.8734 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/2.519, allocations: 8.125 kB / 0.8734 GB, free: 7.406 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/2.519, allocations: 12 kB / 0.8734 GB, free: 7.395 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/2.519, allocations: 0 / 0.8734 GB, free: 7.395 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/2.519, allocations: 4 kB / 0.8734 GB, free: 7.391 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007103/2.52, allocations: 0.6968 MB / 0.8741 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/2.52, allocations: 176 kB / 0.8742 GB, free: 6.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.156e-05/2.52, allocations: 12 kB / 0.8743 GB, free: 6.469 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/2.52, allocations: 9.75 kB / 0.8743 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/2.52, allocations: 36.98 kB / 0.8743 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/2.52, allocations: 12 kB / 0.8743 GB, free: 6.414 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004071/2.521, allocations: 342.9 kB / 0.8746 GB, free: 6.082 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.994e-06/2.521, allocations: 4 kB / 0.8746 GB, free: 6.078 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004567/2.525, allocations: 1.489 MB / 0.8761 GB, free: 4.59 MB / 0.7012 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.006852/2.532, allocations: 2.145 MB / 0.8782 GB, free: 2.719 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0007873/2.533, allocations: 0.5776 MB / 0.8788 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/2.533, allocations: 5.125 kB / 0.8788 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002563/2.533, allocations: 223.2 kB / 0.879 GB, free: 1.934 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/2.535, allocations: 316.6 kB / 0.8793 GB, free: 1.645 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/2.536, allocations: 1.306 MB / 0.8805 GB, free: 304 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/2.537, allocations: 0.9544 MB / 0.8815 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/2.537, allocations: 59.42 kB / 0.8815 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/2.537, allocations: 0 / 0.8815 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of Templates: time 0.04381/2.581, allocations: 31.84 MB / 0.9126 GB, free: 15.43 MB / 0.7481 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)