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.8179/0.8179, allocations: 150.9 MB / 166.5 MB, free: 14.17 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003678, allocations: 18.09 kB / 237.1 MB, free: 1.848 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06037/0.06076, allocations: 31.35 MB / 268.4 MB, free: 7.027 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.584/1.645, allocations: 296.1 MB / 0.5513 GB, free: 11.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4776/2.123, allocations: 186.1 MB / 0.7331 GB, free: 380 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003681/2.123, allocations: 17.09 kB / 0.7331 GB, free: 380 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.0004886/2.124, allocations: 164.8 kB / 0.7332 GB, free: 376 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004432/2.124, allocations: 257 kB / 0.7335 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.03023/2.155, allocations: 10.99 MB / 0.7442 GB, free: 156 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001696/2.156, allocations: 0.8178 MB / 0.745 GB, free: 156 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004794/2.157, allocations: 398.1 kB / 0.7454 GB, free: 84 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004649/2.157, allocations: 351.4 kB / 0.7457 GB, free: 84 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003438/2.158, allocations: 324.8 kB / 0.746 GB, free: 84 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.457e-05/2.158, allocations: 64.42 kB / 0.7461 GB, free: 84 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03637/2.194, allocations: 19.46 MB / 0.7651 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003291/2.194, allocations: 148.3 kB / 0.7653 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006502/2.195, allocations: 377.8 kB / 0.7656 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02322/2.218, allocations: 9.914 MB / 0.7753 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/2.218, allocations: 2.344 kB / 0.7753 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/2.218, allocations: 6.438 kB / 0.7753 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.374e-05/2.218, allocations: 0 / 0.7753 GB, free: 10.69 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.004768/2.223, allocations: 2.027 MB / 0.7773 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/2.223, allocations: 8 kB / 0.7773 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/2.223, allocations: 85.06 kB / 0.7774 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/2.224, allocations: 429.9 kB / 0.7778 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/2.224, allocations: 50.81 kB / 0.7778 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.388e-05/2.224, allocations: 68.66 kB / 0.7779 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008903/2.225, allocations: 0.7085 MB / 0.7786 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/2.225, allocations: 2.344 kB / 0.7786 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.687e-05/2.225, allocations: 27.31 kB / 0.7786 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/2.225, allocations: 29.3 kB / 0.7786 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006205/2.226, allocations: 438 kB / 0.7791 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.01555/2.241, allocations: 11.95 MB / 0.7907 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/2.241, allocations: 129.2 kB / 0.7908 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/2.241, allocations: 98.84 kB / 0.7909 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.155/2.396, allocations: 77.41 MB / 0.8665 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/2.397, allocations: 40.41 kB / 0.8666 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=46): time 3.316e-06/2.397, allocations: 0 / 0.8666 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of matching and sorting (n=46): time 0.0008554/2.397, allocations: 318.1 kB / 0.8669 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/2.397, allocations: 77.67 kB / 0.867 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005772/2.398, allocations: 0.4951 MB / 0.8674 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/2.398, allocations: 26.45 kB / 0.8675 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/2.398, allocations: 358.4 kB / 0.8678 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 9.267e-05/2.398, allocations: 160.4 kB / 0.868 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/2.398, allocations: 106.9 kB / 0.8681 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001381/2.399, allocations: 366.5 kB / 0.8684 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/2.399, allocations: 94.56 kB / 0.8685 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/2.399, allocations: 282.7 kB / 0.8688 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004376/2.4, allocations: 435.6 kB / 0.8692 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/2.4, allocations: 0.8438 kB / 0.8692 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0006627/2.4, allocations: 468.7 kB / 0.8696 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/2.4, allocations: 8.938 kB / 0.8696 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/2.4, allocations: 8 kB / 0.8696 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/2.4, allocations: 8 kB / 0.8697 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/2.401, allocations: 72.47 kB / 0.8697 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/2.401, allocations: 14.14 kB / 0.8697 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/2.401, allocations: 73.22 kB / 0.8698 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/2.401, allocations: 20.41 kB / 0.8698 GB, free: 10.61 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.0002191/2.401, allocations: 200.7 kB / 0.87 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.029e-05/2.401, allocations: 51.34 kB / 0.8701 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007378/2.402, allocations: 0.6276 MB / 0.8707 GB, free: 9.719 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004936/2.403, allocations: 469.8 kB / 0.8711 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/2.403, allocations: 0 / 0.8711 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/2.403, allocations: 0 / 0.8711 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/2.404, allocations: 1.538 MB / 0.8726 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/2.404, allocations: 0 / 0.8726 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/2.404, allocations: 68.67 kB / 0.8727 GB, free: 7.629 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/2.404, allocations: 4 kB / 0.8727 GB, free: 7.625 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/2.405, allocations: 13.19 kB / 0.8727 GB, free: 7.613 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/2.405, allocations: 4 kB / 0.8727 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/2.405, allocations: 2.156 kB / 0.8727 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006288/2.405, allocations: 0.6988 MB / 0.8734 GB, free: 6.887 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/2.405, allocations: 176 kB / 0.8736 GB, free: 6.695 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/2.405, allocations: 11.98 kB / 0.8736 GB, free: 6.684 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/2.406, allocations: 12 kB / 0.8736 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/2.406, allocations: 31.91 kB / 0.8736 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/2.406, allocations: 17.69 kB / 0.8736 GB, free: 6.625 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0003237/2.406, allocations: 341.2 kB / 0.874 GB, free: 6.297 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.453e-06/2.406, allocations: 0 / 0.874 GB, free: 6.297 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004447/2.41, allocations: 1.492 MB / 0.8754 GB, free: 4.805 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.005621/2.416, allocations: 2.148 MB / 0.8775 GB, free: 2.926 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0007952/2.417, allocations: 0.5745 MB / 0.8781 GB, free: 2.355 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/2.417, allocations: 0 / 0.8781 GB, free: 2.355 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002323/2.417, allocations: 229.4 kB / 0.8783 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/2.419, allocations: 308.5 kB / 0.8786 GB, free: 1.863 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/2.42, allocations: 1.254 MB / 0.8798 GB, free: 0.5703 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/2.421, allocations: 0.9595 MB / 0.8808 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002735/2.421, allocations: 95.12 kB / 0.8808 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.655e-05/2.421, allocations: 53.59 kB / 0.8809 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/2.421, allocations: 0 / 0.8809 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of Templates: time 0.06025/2.481, allocations: 51.1 MB / 0.9308 GB, free: 12.48 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)