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.5378/0.5378, allocations: 111.6 MB / 131.5 MB, free: 4.387 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/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 1.423e-06/1.423e-06, allocations: 0 / 176.6 MB, free: 8.863 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286e-05/1.429e-05, allocations: 2.312 kB / 176.6 MB, free: 8.859 MB / 170.7 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.072/1.072, allocations: 264.2 MB / 440.8 MB, free: 13.74 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3528/1.425, allocations: 179.7 MB / 0.606 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003819/1.425, allocations: 27.75 kB / 0.606 GB, free: 13.73 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:28:3-29:80: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:30:3-31:80: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:32:3-33:77: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:34:3-35:78: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:44:3-45:78: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:29:3-30:80: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.0003967/1.425, allocations: 161 kB / 0.6061 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004766/1.426, allocations: 304 kB / 0.6064 GB, free: 13.28 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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.02237/1.448, allocations: 11.35 MB / 0.6175 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009716/1.449, allocations: 0.8638 MB / 0.6184 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003764/1.45, allocations: 351.8 kB / 0.6187 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005494/1.45, allocations: 0.5454 MB / 0.6192 GB, free: 244 kB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/1.45, allocations: 227.3 kB / 0.6194 GB, free: 16 kB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.53e-05/1.451, allocations: 60.05 kB / 0.6195 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02734/1.478, allocations: 18.24 MB / 0.6373 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001921/1.478, allocations: 171.3 kB / 0.6375 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002959/1.478, allocations: 259.3 kB / 0.6377 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01933/1.498, allocations: 12.2 MB / 0.6496 GB, free: 1.039 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/1.498, allocations: 4 kB / 0.6496 GB, free: 1.035 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.103e-06/1.498, allocations: 0 / 0.6496 GB, free: 1.035 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.632e-06/1.498, allocations: 0 / 0.6496 GB, free: 1.035 MB / 0.5573 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.003878/1.502, allocations: 2.07 MB / 0.6517 GB, free: 14.93 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/1.502, allocations: 11.98 kB / 0.6517 GB, free: 14.91 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/1.502, allocations: 115.9 kB / 0.6518 GB, free: 14.8 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/1.502, allocations: 370.6 kB / 0.6521 GB, free: 14.41 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.923e-05/1.502, allocations: 49.31 kB / 0.6522 GB, free: 14.36 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.868e-05/1.502, allocations: 60 kB / 0.6522 GB, free: 14.3 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000574/1.503, allocations: 0.5423 MB / 0.6528 GB, free: 13.71 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/1.503, allocations: 4 kB / 0.6528 GB, free: 13.71 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/1.503, allocations: 28 kB / 0.6528 GB, free: 13.68 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/1.503, allocations: 27.92 kB / 0.6528 GB, free: 13.65 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/1.503, allocations: 215.2 kB / 0.653 GB, free: 13.45 MB / 0.573 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.01286/1.516, allocations: 6.747 MB / 0.6596 GB, free: 6.621 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/1.516, allocations: 69.06 kB / 0.6597 GB, free: 6.535 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.669e-05/1.516, allocations: 29.72 kB / 0.6597 GB, free: 6.5 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03566/1.552, allocations: 21.05 MB / 0.6803 GB, free: 1.438 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/1.552, allocations: 38.56 kB / 0.6803 GB, free: 1.391 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=46): time 1.803e-06/1.552, allocations: 0 / 0.6803 GB, free: 1.391 MB / 0.5886 GB Notification: Performance of matching and sorting (n=46): time 0.0002664/1.552, allocations: 191.2 kB / 0.6805 GB, free: 1.199 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/1.552, allocations: 81.11 kB / 0.6806 GB, free: 1.102 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/1.553, allocations: 438.8 kB / 0.681 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/1.553, allocations: 33.7 kB / 0.681 GB, free: 0.6211 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/1.553, allocations: 360.6 kB / 0.6814 GB, free: 264 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.188e-05/1.553, allocations: 162.6 kB / 0.6815 GB, free: 100 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.219e-05/1.553, allocations: 109.5 kB / 0.6816 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.364e-05/1.553, allocations: 366.7 kB / 0.682 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.457e-05/1.553, allocations: 33.2 kB / 0.682 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/1.553, allocations: 219.1 kB / 0.6822 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/1.553, allocations: 321 kB / 0.6825 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.553, allocations: 4 kB / 0.6825 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0002567/1.554, allocations: 293.1 kB / 0.6828 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/1.554, allocations: 8 kB / 0.6828 GB, free: 14.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/1.554, allocations: 8.875 kB / 0.6828 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/1.554, allocations: 8 kB / 0.6828 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/1.554, allocations: 76.47 kB / 0.6829 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.554, allocations: 8 kB / 0.6829 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/1.554, allocations: 59.45 kB / 0.683 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/1.554, allocations: 19.98 kB / 0.683 GB, free: 14.42 MB / 0.6042 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 (sourceP2.fluid1,sourceP3.fluid1,puitsP2.fluid,plateHeatExchanger.fluid_c,sourceP2.C.ftype,puitsP3.fluid,plateHeatExchanger.fluid_f,sourceP3.C.ftype) * 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.0001079/1.554, allocations: 140.5 kB / 0.6831 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/1.554, allocations: 27.97 kB / 0.6831 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/1.554, allocations: 423.6 kB / 0.6835 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001589/1.555, allocations: 247.9 kB / 0.6838 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/1.555, allocations: 4 kB / 0.6838 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/1.555, allocations: 3.938 kB / 0.6838 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008018/1.555, allocations: 1.068 MB / 0.6848 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.555, allocations: 4.031 kB / 0.6848 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.55e-05/1.555, allocations: 63.92 kB / 0.6849 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.555, allocations: 7.938 kB / 0.6849 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/1.555, allocations: 13.05 kB / 0.6849 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/1.555, allocations: 4 kB / 0.6849 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.555, allocations: 7.938 kB / 0.6849 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/1.556, allocations: 0.5765 MB / 0.6855 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/1.556, allocations: 105.9 kB / 0.6856 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/1.556, allocations: 8 kB / 0.6856 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.96e-05/1.556, allocations: 16 kB / 0.6856 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/1.556, allocations: 35.88 kB / 0.6856 GB, free: 11.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/1.556, allocations: 9.125 kB / 0.6857 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001129/1.556, allocations: 172.4 kB / 0.6858 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/1.556, allocations: 0 / 0.6858 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002391/1.559, allocations: 1.531 MB / 0.6873 GB, free: 9.887 MB / 0.6042 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.003471/1.562, allocations: 2.487 MB / 0.6897 GB, free: 7.391 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003225/1.562, allocations: 429.1 kB / 0.6902 GB, free: 6.945 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/1.562, allocations: 4.5 kB / 0.6902 GB, free: 6.941 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.507e-05/1.562, allocations: 138.6 kB / 0.6903 GB, free: 6.805 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000685/1.563, allocations: 293 kB / 0.6906 GB, free: 6.531 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/1.564, allocations: 1.295 MB / 0.6918 GB, free: 5.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/1.565, allocations: 175.7 kB / 0.692 GB, free: 4.988 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001862/1.565, allocations: 95.28 kB / 0.6921 GB, free: 4.895 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/1.565, allocations: 213.2 kB / 0.6923 GB, free: 4.688 MB / 0.6042 GB Notification: Performance of SimCode: time 7.71e-07/1.565, allocations: 0 / 0.6923 GB, free: 4.688 MB / 0.6042 GB Notification: Performance of Templates: time 0.2594/1.824, allocations: 59.88 MB / 0.7508 GB, free: 81.13 MB / 0.6198 GB " [Timeout remaining time 658] 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.828844776842743]