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.8313/0.8313, allocations: 150.9 MB / 166.5 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003233, allocations: 17.5 kB / 237.1 MB, free: 1.719 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05095/0.05129, allocations: 31.35 MB / 268.4 MB, free: 7.023 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.603/1.654, allocations: 296.2 MB / 0.5514 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4551/2.11, allocations: 186.1 MB / 0.7332 GB, free: 344 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00044/2.11, allocations: 17.33 kB / 0.7332 GB, free: 344 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.0004695/2.111, allocations: 158.2 kB / 0.7333 GB, free: 344 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005815/2.111, allocations: 256.4 kB / 0.7336 GB, free: 340 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.0252/2.136, allocations: 10.99 MB / 0.7443 GB, free: 116 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008583/2.137, allocations: 0.8171 MB / 0.7451 GB, free: 116 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003657/2.138, allocations: 391.8 kB / 0.7455 GB, free: 44 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003123/2.138, allocations: 349.5 kB / 0.7458 GB, free: 44 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/2.138, allocations: 329.1 kB / 0.7461 GB, free: 44 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.619e-05/2.138, allocations: 62.41 kB / 0.7462 GB, free: 44 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0305/2.169, allocations: 19.46 MB / 0.7652 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002327/2.169, allocations: 151.3 kB / 0.7653 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005282/2.17, allocations: 380.9 kB / 0.7657 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02173/2.191, allocations: 9.938 MB / 0.7754 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/2.191, allocations: 0 / 0.7754 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.645e-06/2.191, allocations: 0 / 0.7754 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.303e-05/2.191, allocations: 1.203 kB / 0.7754 GB, free: 10.52 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.004991/2.196, allocations: 2.1 MB / 0.7775 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/2.197, allocations: 10.09 kB / 0.7775 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/2.197, allocations: 94.86 kB / 0.7776 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005133/2.197, allocations: 432.1 kB / 0.778 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/2.197, allocations: 55.22 kB / 0.778 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/2.197, allocations: 64.69 kB / 0.7781 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008997/2.198, allocations: 0.7021 MB / 0.7788 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/2.198, allocations: 8.438 kB / 0.7788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/2.198, allocations: 25.91 kB / 0.7788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/2.198, allocations: 28.3 kB / 0.7788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005946/2.199, allocations: 434 kB / 0.7793 GB, free: 8.48 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.01581/2.215, allocations: 11.96 MB / 0.7909 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/2.215, allocations: 126.3 kB / 0.7911 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/2.215, allocations: 98.5 kB / 0.7911 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1591/2.374, allocations: 77.41 MB / 0.8667 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/2.374, allocations: 30.56 kB / 0.8668 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=46): time 2.745e-06/2.374, allocations: 5.203 kB / 0.8668 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of matching and sorting (n=46): time 0.0007371/2.375, allocations: 323 kB / 0.8671 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/2.375, allocations: 80.3 kB / 0.8672 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006483/2.376, allocations: 0.4921 MB / 0.8676 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/2.376, allocations: 32.95 kB / 0.8677 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/2.376, allocations: 373.5 kB / 0.868 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/2.376, allocations: 154.8 kB / 0.8682 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/2.376, allocations: 105.6 kB / 0.8683 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001383/2.376, allocations: 366.5 kB / 0.8686 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/2.377, allocations: 101.9 kB / 0.8687 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/2.377, allocations: 285.8 kB / 0.869 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005015/2.377, allocations: 421.5 kB / 0.8694 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/2.377, allocations: 4.125 kB / 0.8694 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0007562/2.378, allocations: 462.9 kB / 0.8699 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/2.378, allocations: 9.719 kB / 0.8699 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/2.378, allocations: 4 kB / 0.8699 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/2.378, allocations: 8 kB / 0.8699 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/2.379, allocations: 84.78 kB / 0.87 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/2.379, allocations: 11.12 kB / 0.87 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/2.379, allocations: 76.42 kB / 0.87 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/2.379, allocations: 23.98 kB / 0.8701 GB, free: 10.24 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.0002343/2.379, allocations: 192.4 kB / 0.8702 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/2.379, allocations: 55.62 kB / 0.8703 GB, free: 9.992 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008586/2.38, allocations: 0.6356 MB / 0.8709 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005405/2.381, allocations: 462.1 kB / 0.8714 GB, free: 8.895 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/2.381, allocations: 0 / 0.8714 GB, free: 8.895 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/2.381, allocations: 7.969 kB / 0.8714 GB, free: 8.887 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/2.383, allocations: 1.536 MB / 0.8729 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/2.383, allocations: 1.203 kB / 0.8729 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/2.383, allocations: 74.81 kB / 0.8729 GB, free: 7.254 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/2.383, allocations: 5.5 kB / 0.8729 GB, free: 7.25 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/2.383, allocations: 8 kB / 0.873 GB, free: 7.242 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/2.383, allocations: 4 kB / 0.873 GB, free: 7.238 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/2.383, allocations: 128 / 0.873 GB, free: 7.238 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006876/2.384, allocations: 0.7059 MB / 0.8736 GB, free: 6.512 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/2.384, allocations: 180.5 kB / 0.8738 GB, free: 6.316 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.125e-05/2.384, allocations: 16 kB / 0.8738 GB, free: 6.301 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/2.384, allocations: 6.156 kB / 0.8738 GB, free: 6.297 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/2.384, allocations: 35.89 kB / 0.8739 GB, free: 6.262 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/2.384, allocations: 17.09 kB / 0.8739 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000401/2.385, allocations: 338.9 kB / 0.8742 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.51e-07/2.385, allocations: 0 / 0.8742 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003772/2.388, allocations: 1.508 MB / 0.8757 GB, free: 4.406 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.006807/2.395, allocations: 2.165 MB / 0.8778 GB, free: 2.508 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0008711/2.396, allocations: 0.5828 MB / 0.8784 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/2.396, allocations: 0 / 0.8784 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002663/2.396, allocations: 232.4 kB / 0.8786 GB, free: 1.715 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/2.398, allocations: 305.7 kB / 0.8789 GB, free: 1.438 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/2.4, allocations: 1.278 MB / 0.8801 GB, free: 128 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/2.4, allocations: 0.9583 MB / 0.8811 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003274/2.401, allocations: 95.12 kB / 0.8812 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.76e-05/2.401, allocations: 55.42 kB / 0.8812 GB, free: 15 MB / 0.7169 GB Notification: Performance of SimCode: time 4.41e-07/2.401, allocations: 0 / 0.8812 GB, free: 15 MB / 0.7169 GB Notification: Performance of Templates: time 0.06947/2.47, allocations: 51.1 MB / 0.9311 GB, free: 12.03 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)