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.8355/0.8355, allocations: 150.9 MB / 166.4 MB, free: 14.44 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003067, allocations: 15.97 kB / 204.5 MB, free: 9.75 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1543, allocations: 31.33 MB / 235.9 MB, free: 5.426 MB / 190.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.642/1.797, allocations: 296.1 MB / 0.5195 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2109/2.007, allocations: 186.1 MB / 0.7013 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005614/2.008, allocations: 11.94 kB / 0.7013 GB, free: 1.383 MB / 0.5762 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.0005551/2.009, allocations: 160.3 kB / 0.7015 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005745/2.009, allocations: 257.9 kB / 0.7017 GB, free: 0.9727 MB / 0.5762 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.3794/2.389, allocations: 10.97 MB / 0.7124 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009749/2.39, allocations: 0.8186 MB / 0.7132 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004204/2.39, allocations: 388 kB / 0.7136 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003369/2.39, allocations: 343.3 kB / 0.7139 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/2.391, allocations: 334.6 kB / 0.7142 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.51e-05/2.391, allocations: 59.91 kB / 0.7143 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03379/2.425, allocations: 19.21 MB / 0.7331 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003108/2.425, allocations: 147.6 kB / 0.7332 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006018/2.425, allocations: 380 kB / 0.7336 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02528/2.451, allocations: 9.924 MB / 0.7433 GB, free: 444 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/2.451, allocations: 0.9375 kB / 0.7433 GB, free: 444 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.963e-06/2.451, allocations: 0 / 0.7433 GB, free: 444 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.223e-05/2.451, allocations: 0.7812 kB / 0.7433 GB, free: 444 kB / 0.5762 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.005849/2.457, allocations: 2.027 MB / 0.7452 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/2.457, allocations: 13.58 kB / 0.7452 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/2.457, allocations: 90.97 kB / 0.7453 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004401/2.457, allocations: 412.3 kB / 0.7457 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/2.457, allocations: 48.81 kB / 0.7458 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.181e-05/2.457, allocations: 63.84 kB / 0.7458 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008706/2.458, allocations: 0.7061 MB / 0.7465 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/2.458, allocations: 2.75 kB / 0.7465 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.111e-05/2.458, allocations: 21.47 kB / 0.7465 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/2.458, allocations: 31.33 kB / 0.7466 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000593/2.459, allocations: 440 kB / 0.747 GB, free: 14.51 MB / 0.5919 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.01561/2.475, allocations: 11.95 MB / 0.7587 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/2.475, allocations: 129.4 kB / 0.7588 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/2.475, allocations: 103.4 kB / 0.7589 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1513/2.626, allocations: 76.93 MB / 0.834 GB, free: 5.938 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/2.626, allocations: 38.5 kB / 0.8341 GB, free: 5.891 MB / 0.67 GB Notification: Performance of pre-optimization done (n=46): time 2.745e-06/2.626, allocations: 1.203 kB / 0.8341 GB, free: 5.891 MB / 0.67 GB Notification: Performance of matching and sorting (n=46): time 0.0007269/2.627, allocations: 333.8 kB / 0.8344 GB, free: 5.652 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/2.627, allocations: 84.3 kB / 0.8345 GB, free: 5.555 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006046/2.628, allocations: 497.5 kB / 0.8349 GB, free: 5.168 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/2.628, allocations: 29.39 kB / 0.835 GB, free: 5.137 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/2.628, allocations: 352.7 kB / 0.8353 GB, free: 4.855 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/2.628, allocations: 157.4 kB / 0.8354 GB, free: 4.723 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/2.628, allocations: 109.6 kB / 0.8356 GB, free: 4.645 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001193/2.628, allocations: 359.7 kB / 0.8359 GB, free: 4.305 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/2.629, allocations: 102.2 kB / 0.836 GB, free: 4.242 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/2.629, allocations: 287 kB / 0.8363 GB, free: 3.941 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004536/2.629, allocations: 428.4 kB / 0.8367 GB, free: 3.586 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/2.629, allocations: 4 kB / 0.8367 GB, free: 3.582 MB / 0.67 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0007112/2.63, allocations: 467.5 kB / 0.8371 GB, free: 3.262 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/2.63, allocations: 5.719 kB / 0.8371 GB, free: 3.258 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/2.63, allocations: 8 kB / 0.8371 GB, free: 3.25 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/2.63, allocations: 11.98 kB / 0.8371 GB, free: 3.238 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/2.63, allocations: 70.25 kB / 0.8372 GB, free: 3.176 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/2.631, allocations: 12.28 kB / 0.8372 GB, free: 3.168 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/2.631, allocations: 74 kB / 0.8373 GB, free: 3.102 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/2.631, allocations: 27.61 kB / 0.8373 GB, free: 3.078 MB / 0.67 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.631, allocations: 179 kB / 0.8375 GB, free: 2.934 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/2.631, allocations: 59.28 kB / 0.8376 GB, free: 2.875 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007459/2.632, allocations: 0.6342 MB / 0.8382 GB, free: 2.445 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004748/2.632, allocations: 451.5 kB / 0.8386 GB, free: 2.137 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/2.632, allocations: 0 / 0.8386 GB, free: 2.137 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/2.632, allocations: 3.984 kB / 0.8386 GB, free: 2.133 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/2.634, allocations: 1.558 MB / 0.8401 GB, free: 0.8945 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/2.634, allocations: 0 / 0.8401 GB, free: 0.8945 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/2.634, allocations: 74.22 kB / 0.8402 GB, free: 0.8281 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/2.634, allocations: 4 kB / 0.8402 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/2.634, allocations: 15 kB / 0.8402 GB, free: 0.8164 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/2.634, allocations: 4 kB / 0.8402 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/2.634, allocations: 0 / 0.8402 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006368/2.635, allocations: 0.6961 MB / 0.8409 GB, free: 240 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/2.635, allocations: 183.1 kB / 0.8411 GB, free: 56 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-05/2.635, allocations: 14.34 kB / 0.8411 GB, free: 52 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/2.636, allocations: 3.188 kB / 0.8411 GB, free: 52 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/2.636, allocations: 39.64 kB / 0.8411 GB, free: 16 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/2.636, allocations: 15.25 kB / 0.8411 GB, free: 4 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003836/2.636, allocations: 343.9 kB / 0.8415 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/2.636, allocations: 3.188 kB / 0.8415 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00409/2.64, allocations: 1.487 MB / 0.8429 GB, free: 14.36 MB / 0.6856 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.007901/2.648, allocations: 2.162 MB / 0.845 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001086/2.649, allocations: 0.5927 MB / 0.8456 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/2.649, allocations: 4.062 kB / 0.8456 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000317/2.65, allocations: 226.4 kB / 0.8458 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/2.651, allocations: 310.6 kB / 0.8461 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/2.653, allocations: 1.259 MB / 0.8474 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/2.654, allocations: 0.9622 MB / 0.8483 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003873/2.654, allocations: 100.4 kB / 0.8484 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.49e-05/2.654, allocations: 55.44 kB / 0.8484 GB, free: 9.371 MB / 0.6856 GB Notification: Performance of SimCode: time 1.813e-06/2.654, allocations: 0 / 0.8484 GB, free: 9.371 MB / 0.6856 GB Notification: Performance of Templates: time 0.06934/2.724, allocations: 50.95 MB / 0.8982 GB, free: 6.633 MB / 0.7325 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)