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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.8622/0.8622, allocations: 153.8 MB / 172.7 MB, free: 4.84 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005423/0.0005423, allocations: 11.98 kB / 250.3 MB, free: 3.879 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1618, allocations: 33.36 MB / 283.7 MB, free: 2.055 MB / 222.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger): time 1.895/2.057, allocations: 308.8 MB / 0.5785 GB, free: 17.21 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.1948/2.251, allocations: 163.7 MB / 0.7384 GB, free: 204 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005627/2.252, allocations: 15.88 kB / 0.7384 GB, free: 188 kB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 master/Fluid/BoundaryConditions/SourcePQ.mo:75:3-76: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 master/Fluid/BoundaryConditions/Sink.mo:40:3-41: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.0005023/2.252, allocations: 164 kB / 0.7385 GB, free: 24 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000687/2.253, allocations: 293.8 kB / 0.7388 GB, free: 15.73 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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 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.03424/2.287, allocations: 11.11 MB / 0.7497 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001366/2.289, allocations: 0.8386 MB / 0.7505 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004483/2.289, allocations: 329.6 kB / 0.7508 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004708/2.29, allocations: 375.6 kB / 0.7512 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003356/2.29, allocations: 290.3 kB / 0.7514 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.421e-05/2.29, allocations: 64 kB / 0.7515 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0351/2.325, allocations: 18.2 MB / 0.7693 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002501/2.325, allocations: 171.4 kB / 0.7694 GB, free: 348 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004282/2.326, allocations: 322.3 kB / 0.7698 GB, free: 24 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02337/2.349, allocations: 10 MB / 0.7795 GB, free: 5.996 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/2.349, allocations: 4 kB / 0.7795 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.823e-06/2.349, allocations: 0 / 0.7795 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.253e-05/2.349, allocations: 1.312 kB / 0.7795 GB, free: 5.992 MB / 0.6387 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.005161/2.354, allocations: 2.106 MB / 0.7816 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/2.354, allocations: 8.031 kB / 0.7816 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/2.355, allocations: 95.39 kB / 0.7817 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006559/2.355, allocations: 397.2 kB / 0.7821 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.204e-05/2.355, allocations: 53.3 kB / 0.7821 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.526e-05/2.355, allocations: 64 kB / 0.7822 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/2.356, allocations: 0.7077 MB / 0.7829 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/2.356, allocations: 7.938 kB / 0.7829 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.419e-05/2.356, allocations: 28 kB / 0.7829 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/2.357, allocations: 27.98 kB / 0.7829 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007314/2.357, allocations: 440.2 kB / 0.7833 GB, free: 1.977 MB / 0.6387 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.01532/2.373, allocations: 6.191 MB / 0.7894 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/2.373, allocations: 98.38 kB / 0.7895 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/2.373, allocations: 81.11 kB / 0.7896 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3353/2.708, allocations: 43.76 MB / 0.8323 GB, free: 303 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/2.708, allocations: 38.16 kB / 0.8323 GB, free: 303 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=46): time 2.324e-06/2.708, allocations: 0 / 0.8323 GB, free: 303 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46): time 0.000741/2.709, allocations: 323.8 kB / 0.8326 GB, free: 302.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/2.709, allocations: 79.64 kB / 0.8327 GB, free: 302.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000591/2.71, allocations: 0.4914 MB / 0.8332 GB, free: 302.7 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/2.71, allocations: 26.48 kB / 0.8332 GB, free: 302.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/2.71, allocations: 387 kB / 0.8336 GB, free: 302.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 8.078e-05/2.71, allocations: 166.9 kB / 0.8337 GB, free: 302.5 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/2.71, allocations: 128.5 kB / 0.8339 GB, free: 302.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.295e-05/2.71, allocations: 350.8 kB / 0.8342 GB, free: 302.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/2.71, allocations: 99.88 kB / 0.8343 GB, free: 302.1 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/2.711, allocations: 278 kB / 0.8346 GB, free: 301.9 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/2.711, allocations: 432.4 kB / 0.835 GB, free: 301.7 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/2.711, allocations: 3.031 kB / 0.835 GB, free: 301.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0006638/2.712, allocations: 449.5 kB / 0.8354 GB, free: 301.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/2.712, allocations: 8.641 kB / 0.8354 GB, free: 301.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/2.712, allocations: 9.391 kB / 0.8354 GB, free: 301.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/2.712, allocations: 8.094 kB / 0.8354 GB, free: 301.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/2.712, allocations: 77.31 kB / 0.8355 GB, free: 301.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/2.712, allocations: 17.69 kB / 0.8355 GB, free: 301.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/2.712, allocations: 49.48 kB / 0.8356 GB, free: 301.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/2.712, allocations: 20.72 kB / 0.8356 GB, free: 301.6 MB / 0.6856 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.0002135/2.713, allocations: 215.5 kB / 0.8358 GB, free: 301.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.122e-05/2.713, allocations: 56.25 kB / 0.8358 GB, free: 301.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007764/2.713, allocations: 0.6542 MB / 0.8365 GB, free: 301.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005075/2.714, allocations: 466.6 kB / 0.8369 GB, free: 301.2 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/2.714, allocations: 1.219 kB / 0.8369 GB, free: 301.2 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/2.714, allocations: 3.375 kB / 0.8369 GB, free: 301.2 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/2.715, allocations: 1.386 MB / 0.8383 GB, free: 300.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/2.716, allocations: 6.219 kB / 0.8383 GB, free: 300.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/2.716, allocations: 73.23 kB / 0.8384 GB, free: 300.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/2.716, allocations: 8.172 kB / 0.8384 GB, free: 300.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/2.716, allocations: 10.34 kB / 0.8384 GB, free: 300.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/2.716, allocations: 6.531 kB / 0.8384 GB, free: 300.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/2.716, allocations: 2.406 kB / 0.8384 GB, free: 300.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005814/2.716, allocations: 0.7026 MB / 0.8391 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/2.717, allocations: 122.5 kB / 0.8392 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/2.717, allocations: 15.86 kB / 0.8392 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/2.717, allocations: 15.91 kB / 0.8392 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/2.717, allocations: 30.22 kB / 0.8393 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/2.717, allocations: 15.98 kB / 0.8393 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003121/2.717, allocations: 325.7 kB / 0.8396 GB, free: 300.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/2.717, allocations: 1.375 kB / 0.8396 GB, free: 300.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003602/2.721, allocations: 1.535 MB / 0.8411 GB, free: 300.3 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.005595/2.726, allocations: 2.151 MB / 0.8432 GB, free: 300.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009165/2.727, allocations: 0.5511 MB / 0.8437 GB, free: 300 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/2.727, allocations: 0 / 0.8437 GB, free: 300 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/2.727, allocations: 199.2 kB / 0.8439 GB, free: 299.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/2.729, allocations: 287.2 kB / 0.8442 GB, free: 299.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/2.731, allocations: 1.396 MB / 0.8455 GB, free: 299.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/2.731, allocations: 401.7 kB / 0.8459 GB, free: 299.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003122/2.731, allocations: 85 kB / 0.846 GB, free: 299.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.063e-05/2.731, allocations: 48.08 kB / 0.8461 GB, free: 299.2 MB / 0.6856 GB Notification: Performance of SimCode: time 5.51e-07/2.731, allocations: 0.625 kB / 0.8461 GB, free: 299.2 MB / 0.6856 GB Notification: Performance of Templates: time 0.05588/2.787, allocations: 51.82 MB / 0.8967 GB, free: 262.3 MB / 0.6856 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.859597131609917] Failed to read output from testmodel.py, exit status != 0: 2.9145700000226498 2.9233074 0.57177744 Calling exit ...