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.8138/0.8138, allocations: 150.9 MB / 167.2 MB, free: 14.51 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003989/0.0003989, allocations: 17.08 kB / 237.8 MB, free: 1.797 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06226/0.06268, allocations: 31.35 MB / 269.1 MB, free: 7.039 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.593/1.655, allocations: 296.1 MB / 0.552 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.506/2.161, allocations: 186.1 MB / 0.7337 GB, free: 396 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002976/2.162, allocations: 16.94 kB / 0.7337 GB, free: 392 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.0004059/2.162, allocations: 162.8 kB / 0.7339 GB, free: 392 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004043/2.163, allocations: 254.8 kB / 0.7341 GB, free: 388 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.02651/2.189, allocations: 11.01 MB / 0.7449 GB, free: 164 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001011/2.19, allocations: 0.8142 MB / 0.7457 GB, free: 164 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003828/2.19, allocations: 387.2 kB / 0.7461 GB, free: 96 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003256/2.191, allocations: 353.1 kB / 0.7464 GB, free: 96 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/2.191, allocations: 331.5 kB / 0.7467 GB, free: 96 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.556e-05/2.191, allocations: 59.78 kB / 0.7468 GB, free: 96 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03072/2.222, allocations: 19.47 MB / 0.7658 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002345/2.222, allocations: 142.6 kB / 0.7659 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005401/2.223, allocations: 381.7 kB / 0.7663 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02159/2.244, allocations: 9.913 MB / 0.776 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/2.244, allocations: 7.031 kB / 0.776 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/2.244, allocations: 2.344 kB / 0.776 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.845e-05/2.244, allocations: 0 / 0.776 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.005525/2.25, allocations: 2.026 MB / 0.778 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/2.25, allocations: 10.06 kB / 0.778 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/2.25, allocations: 85.06 kB / 0.778 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005811/2.251, allocations: 427 kB / 0.7784 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.995e-05/2.251, allocations: 50.69 kB / 0.7785 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.408e-05/2.251, allocations: 68.72 kB / 0.7786 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/2.252, allocations: 0.7065 MB / 0.7793 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/2.252, allocations: 2.906 kB / 0.7793 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/2.252, allocations: 34.97 kB / 0.7793 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.898e-05/2.252, allocations: 25.42 kB / 0.7793 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006459/2.253, allocations: 436.8 kB / 0.7797 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.01691/2.27, allocations: 11.95 MB / 0.7914 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/2.27, allocations: 129.1 kB / 0.7915 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/2.27, allocations: 97.53 kB / 0.7916 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1584/2.428, allocations: 77.4 MB / 0.8672 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/2.428, allocations: 37.31 kB / 0.8672 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=46): time 2.354e-06/2.428, allocations: 0 / 0.8672 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of matching and sorting (n=46): time 0.0007422/2.429, allocations: 316.1 kB / 0.8675 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/2.429, allocations: 85.09 kB / 0.8676 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006153/2.43, allocations: 498.2 kB / 0.8681 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/2.43, allocations: 32.83 kB / 0.8681 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/2.43, allocations: 356.3 kB / 0.8685 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/2.43, allocations: 165 kB / 0.8686 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/2.43, allocations: 104.5 kB / 0.8687 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000129/2.431, allocations: 368.5 kB / 0.8691 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/2.431, allocations: 93.88 kB / 0.8692 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/2.431, allocations: 283.4 kB / 0.8694 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004855/2.432, allocations: 427.6 kB / 0.8698 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/2.432, allocations: 5.625 kB / 0.8699 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0007335/2.432, allocations: 464.1 kB / 0.8703 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/2.432, allocations: 9.203 kB / 0.8703 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/2.432, allocations: 4 kB / 0.8703 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/2.432, allocations: 10.16 kB / 0.8703 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/2.433, allocations: 72.38 kB / 0.8704 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/2.433, allocations: 10.88 kB / 0.8704 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/2.433, allocations: 71.11 kB / 0.8705 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/2.433, allocations: 29.17 kB / 0.8705 GB, free: 10.57 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.0002359/2.433, allocations: 193.7 kB / 0.8707 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/2.433, allocations: 51.34 kB / 0.8707 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007464/2.434, allocations: 0.6348 MB / 0.8713 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004851/2.435, allocations: 458.3 kB / 0.8718 GB, free: 9.234 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/2.435, allocations: 1.094 kB / 0.8718 GB, free: 9.234 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/2.435, allocations: 7.984 kB / 0.8718 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/2.437, allocations: 1.541 MB / 0.8733 GB, free: 7.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/2.437, allocations: 0 / 0.8733 GB, free: 7.66 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/2.437, allocations: 72.38 kB / 0.8734 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/2.437, allocations: 4 kB / 0.8734 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/2.437, allocations: 8 kB / 0.8734 GB, free: 7.582 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/2.437, allocations: 0 / 0.8734 GB, free: 7.582 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/2.437, allocations: 6.344 kB / 0.8734 GB, free: 7.578 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006813/2.438, allocations: 0.6988 MB / 0.8741 GB, free: 6.855 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/2.438, allocations: 177.2 kB / 0.8742 GB, free: 6.664 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.702e-05/2.438, allocations: 8.938 kB / 0.8742 GB, free: 6.656 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/2.438, allocations: 16 kB / 0.8743 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/2.438, allocations: 35.89 kB / 0.8743 GB, free: 6.605 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/2.438, allocations: 8 kB / 0.8743 GB, free: 6.598 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0003532/2.438, allocations: 342.9 kB / 0.8746 GB, free: 6.266 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.51e-07/2.438, allocations: 2.156 kB / 0.8746 GB, free: 6.266 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003826/2.442, allocations: 1.487 MB / 0.8761 GB, free: 4.777 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.007058/2.449, allocations: 2.15 MB / 0.8782 GB, free: 2.898 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0007482/2.45, allocations: 0.5723 MB / 0.8787 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/2.45, allocations: 0 / 0.8787 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/2.45, allocations: 233.6 kB / 0.879 GB, free: 2.117 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/2.452, allocations: 307.8 kB / 0.8793 GB, free: 1.836 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/2.454, allocations: 1.295 MB / 0.8805 GB, free: 0.4961 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/2.454, allocations: 0.9661 MB / 0.8815 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/2.454, allocations: 59.44 kB / 0.8815 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/2.454, allocations: 2.156 kB / 0.8815 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of Templates: time 0.04364/2.498, allocations: 31.72 MB / 0.9125 GB, free: 15.74 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)