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.8421/0.8421, allocations: 150.9 MB / 166.5 MB, free: 14.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003169, allocations: 17.64 kB / 237.1 MB, free: 1.773 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04912/0.04945, allocations: 31.35 MB / 268.4 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.596/1.646, allocations: 296.2 MB / 0.5514 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.476/2.122, allocations: 186.1 MB / 0.7331 GB, free: 388 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/2.122, allocations: 12.53 kB / 0.7332 GB, free: 388 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.0004895/2.123, allocations: 191.4 kB / 0.7333 GB, free: 384 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004899/2.123, allocations: 278 kB / 0.7336 GB, free: 380 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.02522/2.148, allocations: 11.18 MB / 0.7445 GB, free: 156 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009439/2.149, allocations: 0.816 MB / 0.7453 GB, free: 156 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003748/2.15, allocations: 393 kB / 0.7457 GB, free: 88 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003444/2.15, allocations: 351.4 kB / 0.746 GB, free: 88 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/2.15, allocations: 332.7 kB / 0.7463 GB, free: 84 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.685e-05/2.15, allocations: 59.67 kB / 0.7464 GB, free: 84 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03005/2.18, allocations: 19.49 MB / 0.7654 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000247/2.181, allocations: 145.2 kB / 0.7656 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005274/2.181, allocations: 380.7 kB / 0.7659 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02127/2.202, allocations: 9.913 MB / 0.7756 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/2.203, allocations: 0 / 0.7756 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.754e-06/2.203, allocations: 0 / 0.7756 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.16e-05/2.203, allocations: 0 / 0.7756 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.004675/2.207, allocations: 2.029 MB / 0.7776 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/2.207, allocations: 9.656 kB / 0.7776 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/2.207, allocations: 88.88 kB / 0.7777 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/2.208, allocations: 432.5 kB / 0.7781 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/2.208, allocations: 50.27 kB / 0.7782 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.975e-05/2.208, allocations: 65.19 kB / 0.7782 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008977/2.209, allocations: 0.7045 MB / 0.7789 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/2.209, allocations: 4.375 kB / 0.7789 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/2.209, allocations: 28.06 kB / 0.7789 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/2.209, allocations: 25.14 kB / 0.779 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005999/2.21, allocations: 435.5 kB / 0.7794 GB, free: 8.742 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.01607/2.226, allocations: 11.95 MB / 0.791 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/2.226, allocations: 132.7 kB / 0.7912 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/2.226, allocations: 99.62 kB / 0.7913 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1638/2.39, allocations: 77.4 MB / 0.8669 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/2.39, allocations: 37.69 kB / 0.8669 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=46): time 1.994e-06/2.39, allocations: 0 / 0.8669 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of matching and sorting (n=46): time 0.0006919/2.391, allocations: 318.8 kB / 0.8672 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/2.391, allocations: 81.11 kB / 0.8673 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005558/2.391, allocations: 498.4 kB / 0.8677 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/2.391, allocations: 26.91 kB / 0.8678 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000202/2.391, allocations: 365.7 kB / 0.8681 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 9.495e-05/2.392, allocations: 153.3 kB / 0.8683 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/2.392, allocations: 107.3 kB / 0.8684 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001385/2.392, allocations: 366.7 kB / 0.8687 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/2.392, allocations: 96.62 kB / 0.8688 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/2.392, allocations: 282.5 kB / 0.8691 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005004/2.393, allocations: 423.8 kB / 0.8695 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/2.393, allocations: 8 kB / 0.8695 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0006947/2.394, allocations: 463.4 kB / 0.8699 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/2.394, allocations: 10.34 kB / 0.8699 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/2.394, allocations: 4 kB / 0.8699 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/2.394, allocations: 11.98 kB / 0.87 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/2.394, allocations: 76.19 kB / 0.87 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/2.394, allocations: 11.09 kB / 0.87 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003083/2.394, allocations: 67.12 kB / 0.8701 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/2.394, allocations: 29.02 kB / 0.8701 GB, free: 10.2 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.0002231/2.395, allocations: 198 kB / 0.8703 GB, free: 10 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-05/2.395, allocations: 48.55 kB / 0.8704 GB, free: 9.953 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00077/2.395, allocations: 0.6353 MB / 0.871 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005209/2.396, allocations: 465.8 kB / 0.8714 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/2.396, allocations: 4 kB / 0.8714 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/2.396, allocations: 7.984 kB / 0.8714 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/2.398, allocations: 1.527 MB / 0.8729 GB, free: 7.285 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/2.398, allocations: 4 kB / 0.8729 GB, free: 7.281 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/2.398, allocations: 72.66 kB / 0.873 GB, free: 7.215 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/2.398, allocations: 4 kB / 0.873 GB, free: 7.211 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/2.398, allocations: 11.84 kB / 0.873 GB, free: 7.203 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/2.398, allocations: 0 / 0.873 GB, free: 7.203 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/2.398, allocations: 7.781 kB / 0.873 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000658/2.399, allocations: 0.7007 MB / 0.8737 GB, free: 6.477 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/2.399, allocations: 176 kB / 0.8739 GB, free: 6.285 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.167e-05/2.399, allocations: 12 kB / 0.8739 GB, free: 6.273 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/2.399, allocations: 8 kB / 0.8739 GB, free: 6.266 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/2.399, allocations: 35.89 kB / 0.8739 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/2.399, allocations: 16 kB / 0.874 GB, free: 6.215 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0003593/2.4, allocations: 342.9 kB / 0.8743 GB, free: 5.883 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8.52e-07/2.4, allocations: 0 / 0.8743 GB, free: 5.883 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003666/2.403, allocations: 1.485 MB / 0.8757 GB, free: 4.398 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.005584/2.409, allocations: 2.146 MB / 0.8778 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0007726/2.41, allocations: 0.571 MB / 0.8784 GB, free: 1.953 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/2.41, allocations: 448 / 0.8784 GB, free: 1.953 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002621/2.41, allocations: 235.2 kB / 0.8786 GB, free: 1.734 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/2.411, allocations: 304.5 kB / 0.8789 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/2.413, allocations: 1.254 MB / 0.8801 GB, free: 172 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/2.414, allocations: 0.9583 MB / 0.8811 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000283/2.414, allocations: 100.4 kB / 0.8812 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.738e-05/2.414, allocations: 56.52 kB / 0.8812 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/2.414, allocations: 0 / 0.8812 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of Templates: time 0.06299/2.477, allocations: 51.11 MB / 0.9311 GB, free: 12.06 MB / 0.7637 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)