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.564/0.564, allocations: 120.4 MB / 140.2 MB, free: 12.97 MB / 138.7 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 2.845e-06/2.845e-06, allocations: 0 / 218 MB, free: 8.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.87e-05, allocations: 6.875 kB / 218 MB, free: 8.609 MB / 202.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 0.9651/0.9651, allocations: 255.5 MB / 473.5 MB, free: 7.637 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.3605/1.326, allocations: 163.7 MB / 0.6223 GB, free: 9.938 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004459/1.326, allocations: 19.81 kB / 0.6223 GB, free: 9.918 MB / 0.5573 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.0004979/1.327, allocations: 166.7 kB / 0.6224 GB, free: 9.754 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004682/1.327, allocations: 309.6 kB / 0.6227 GB, free: 9.449 MB / 0.5573 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.0234/1.35, allocations: 11.22 MB / 0.6337 GB, free: 14.23 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001085/1.351, allocations: 0.8713 MB / 0.6345 GB, free: 13.36 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004264/1.352, allocations: 317.5 kB / 0.6348 GB, free: 13.03 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005482/1.352, allocations: 0.5338 MB / 0.6354 GB, free: 12.49 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/1.353, allocations: 239.2 kB / 0.6356 GB, free: 12.26 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 5.368e-05/1.353, allocations: 60 kB / 0.6357 GB, free: 12.2 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02415/1.377, allocations: 18.25 MB / 0.6535 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002118/1.377, allocations: 183.3 kB / 0.6536 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0003395/1.377, allocations: 255.3 kB / 0.6539 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.023/1.4, allocations: 12.5 MB / 0.6661 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.4, allocations: 0 / 0.6661 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.465e-06/1.4, allocations: 0 / 0.6661 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.974e-05/1.4, allocations: 0 / 0.6661 GB, free: 12.97 MB / 0.6042 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.004889/1.405, allocations: 2.086 MB / 0.6681 GB, free: 10.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.405, allocations: 8.031 kB / 0.6681 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/1.406, allocations: 104.1 kB / 0.6682 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/1.406, allocations: 397.2 kB / 0.6686 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/1.406, allocations: 54.02 kB / 0.6687 GB, free: 10.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/1.406, allocations: 68.5 kB / 0.6687 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007005/1.407, allocations: 0.7109 MB / 0.6694 GB, free: 9.457 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/1.407, allocations: 4 kB / 0.6694 GB, free: 9.453 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/1.407, allocations: 24 kB / 0.6695 GB, free: 9.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/1.407, allocations: 33.48 kB / 0.6695 GB, free: 9.398 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004916/1.407, allocations: 442.1 kB / 0.6699 GB, free: 8.965 MB / 0.6042 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.007804/1.415, allocations: 6.179 MB / 0.6759 GB, free: 2.715 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/1.415, allocations: 102.1 kB / 0.676 GB, free: 2.598 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.7e-05/1.415, allocations: 70.78 kB / 0.6761 GB, free: 2.523 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07156/1.487, allocations: 43.77 MB / 0.7188 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/1.487, allocations: 38.5 kB / 0.7189 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 2.355e-06/1.487, allocations: 0.9375 kB / 0.7189 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of matching and sorting (n=46): time 0.0006808/1.488, allocations: 322.4 kB / 0.7192 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/1.488, allocations: 85.05 kB / 0.7193 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000489/1.488, allocations: 0.49 MB / 0.7198 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/1.488, allocations: 25.7 kB / 0.7198 GB, free: 5.711 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/1.488, allocations: 388.2 kB / 0.7201 GB, free: 5.324 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.848e-05/1.488, allocations: 158.6 kB / 0.7203 GB, free: 5.168 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/1.489, allocations: 121.5 kB / 0.7204 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001078/1.489, allocations: 350.8 kB / 0.7208 GB, free: 4.691 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/1.489, allocations: 92.62 kB / 0.7208 GB, free: 4.602 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/1.489, allocations: 282.7 kB / 0.7211 GB, free: 4.25 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004972/1.49, allocations: 433 kB / 0.7215 GB, free: 3.75 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/1.49, allocations: 0 / 0.7215 GB, free: 3.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0004901/1.49, allocations: 457.3 kB / 0.722 GB, free: 3.297 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/1.49, allocations: 10.56 kB / 0.722 GB, free: 3.289 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/1.49, allocations: 4 kB / 0.722 GB, free: 3.285 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/1.49, allocations: 12.69 kB / 0.722 GB, free: 3.273 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/1.49, allocations: 67.91 kB / 0.722 GB, free: 3.207 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/1.49, allocations: 16.88 kB / 0.7221 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/1.49, allocations: 64.12 kB / 0.7221 GB, free: 3.129 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/1.491, allocations: 20 kB / 0.7221 GB, free: 3.109 MB / 0.6511 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.0002667/1.491, allocations: 209.6 kB / 0.7223 GB, free: 2.895 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/1.491, allocations: 55.61 kB / 0.7224 GB, free: 2.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006407/1.491, allocations: 0.646 MB / 0.723 GB, free: 2.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003924/1.492, allocations: 476.6 kB / 0.7235 GB, free: 1.707 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/1.492, allocations: 3.047 kB / 0.7235 GB, free: 1.707 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/1.492, allocations: 0 / 0.7235 GB, free: 1.707 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/1.493, allocations: 1.383 MB / 0.7248 GB, free: 276 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.493, allocations: 4.125 kB / 0.7248 GB, free: 272 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/1.493, allocations: 76.5 kB / 0.7249 GB, free: 196 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/1.493, allocations: 5.938 kB / 0.7249 GB, free: 192 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/1.493, allocations: 8 kB / 0.7249 GB, free: 184 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/1.493, allocations: 4 kB / 0.7249 GB, free: 180 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.493, allocations: 0 / 0.7249 GB, free: 180 kB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005354/1.494, allocations: 0.7034 MB / 0.7256 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/1.494, allocations: 129.2 kB / 0.7257 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/1.494, allocations: 12.64 kB / 0.7258 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/1.494, allocations: 8 kB / 0.7258 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/1.494, allocations: 35.89 kB / 0.7258 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/1.494, allocations: 16 kB / 0.7258 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002571/1.495, allocations: 326.8 kB / 0.7261 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6e-08/1.495, allocations: 0 / 0.7261 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003461/1.498, allocations: 1.523 MB / 0.7276 GB, free: 13.4 MB / 0.6667 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.004069/1.502, allocations: 2.356 MB / 0.7299 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000542/1.503, allocations: 0.5336 MB / 0.7304 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.503, allocations: 5.188 kB / 0.7304 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/1.503, allocations: 199.7 kB / 0.7306 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008327/1.504, allocations: 299 kB / 0.7309 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/1.505, allocations: 1.426 MB / 0.7323 GB, free: 8.539 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/1.505, allocations: 404.2 kB / 0.7327 GB, free: 8.105 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/1.505, allocations: 52.48 kB / 0.7327 GB, free: 8.055 MB / 0.6667 GB Notification: Performance of SimCode: time 1.061e-06/1.505, allocations: 4 kB / 0.7327 GB, free: 8.051 MB / 0.6667 GB Notification: Performance of Templates: time 0.1925/1.698, allocations: 31.98 MB / 0.764 GB, free: 286.9 MB / 0.6667 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.614784637466073] Failed to read output from testmodel.py, exit status != 0: 1.9135292209684849 1.830057938 0.42821779699999996 Calling exit ...