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.4819/0.4819, allocations: 111.6 MB / 131.7 MB, free: 5.059 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 2.114e-06/2.114e-06, allocations: 0 / 176.5 MB, free: 9.434 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.351e-05, allocations: 2.312 kB / 176.5 MB, free: 9.43 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.024/1.024, allocations: 258.4 MB / 434.9 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3245/1.349, allocations: 180 MB / 0.6004 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000401/1.349, allocations: 23.81 kB / 0.6005 GB, free: 15.66 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.0003888/1.35, allocations: 156.9 kB / 0.6006 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004497/1.35, allocations: 303.9 kB / 0.6009 GB, free: 15.21 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.01943/1.369, allocations: 11.23 MB / 0.6119 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006896/1.37, allocations: 0.8656 MB / 0.6127 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003086/1.37, allocations: 340.8 kB / 0.613 GB, free: 2.848 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004032/1.371, allocations: 0.5377 MB / 0.6136 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/1.371, allocations: 231.2 kB / 0.6138 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.054e-05/1.371, allocations: 67.94 kB / 0.6139 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02068/1.392, allocations: 18.24 MB / 0.6317 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/1.392, allocations: 175.3 kB / 0.6318 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001779/1.392, allocations: 263.3 kB / 0.6321 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01433/1.406, allocations: 12.2 MB / 0.644 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/1.406, allocations: 0 / 0.644 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.382e-06/1.406, allocations: 3.938 kB / 0.644 GB, free: 3.078 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.935e-06/1.406, allocations: 0 / 0.644 GB, free: 3.078 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.003504/1.41, allocations: 2.187 MB / 0.6461 GB, free: 0.8398 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.41, allocations: 11.98 kB / 0.6462 GB, free: 0.8281 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/1.41, allocations: 155.4 kB / 0.6463 GB, free: 0.6758 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/1.411, allocations: 416 kB / 0.6467 GB, free: 244 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/1.411, allocations: 57.31 kB / 0.6468 GB, free: 188 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/1.411, allocations: 64 kB / 0.6468 GB, free: 124 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/1.411, allocations: 0.5887 MB / 0.6474 GB, free: 15.47 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/1.411, allocations: 0 / 0.6474 GB, free: 15.47 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/1.411, allocations: 28 kB / 0.6474 GB, free: 15.44 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/1.411, allocations: 27.92 kB / 0.6475 GB, free: 15.41 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/1.412, allocations: 272.8 kB / 0.6477 GB, free: 15.15 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.00742/1.419, allocations: 6.689 MB / 0.6542 GB, free: 8.359 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/1.419, allocations: 90.17 kB / 0.6543 GB, free: 8.246 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.97e-05/1.419, allocations: 51.36 kB / 0.6544 GB, free: 8.188 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0716/1.491, allocations: 43.99 MB / 0.6973 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/1.491, allocations: 41.27 kB / 0.6974 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=46): time 3.336e-06/1.491, allocations: 0 / 0.6974 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46): time 0.0005981/1.491, allocations: 274.5 kB / 0.6976 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/1.491, allocations: 77.11 kB / 0.6977 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004401/1.492, allocations: 0.5023 MB / 0.6982 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/1.492, allocations: 25.7 kB / 0.6982 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/1.492, allocations: 427 kB / 0.6986 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.207e-05/1.492, allocations: 166.5 kB / 0.6988 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/1.492, allocations: 135.2 kB / 0.6989 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001914/1.493, allocations: 0.5235 MB / 0.6994 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.751e-05/1.493, allocations: 60.34 kB / 0.6995 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/1.493, allocations: 311.8 kB / 0.6998 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/1.493, allocations: 422.6 kB / 0.7002 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.493, allocations: 8 kB / 0.7002 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0004403/1.494, allocations: 405.2 kB / 0.7006 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/1.494, allocations: 7.938 kB / 0.7006 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/1.494, allocations: 8 kB / 0.7006 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/1.494, allocations: 8 kB / 0.7006 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/1.494, allocations: 75.89 kB / 0.7007 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/1.494, allocations: 11.94 kB / 0.7007 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/1.494, allocations: 52.45 kB / 0.7007 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/1.494, allocations: 24.78 kB / 0.7008 GB, free: 8.324 MB / 0.6198 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.0001611/1.494, allocations: 184.6 kB / 0.7009 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-05/1.494, allocations: 63.56 kB / 0.701 GB, free: 8.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000489/1.495, allocations: 486.8 kB / 0.7015 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002707/1.495, allocations: 339.9 kB / 0.7018 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.495, allocations: 0 / 0.7018 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/1.495, allocations: 11.92 kB / 0.7018 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/1.496, allocations: 1.369 MB / 0.7031 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/1.496, allocations: 4.5 kB / 0.7031 GB, free: 5.809 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/1.496, allocations: 67.86 kB / 0.7032 GB, free: 5.742 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/1.496, allocations: 4 kB / 0.7032 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/1.496, allocations: 16.11 kB / 0.7032 GB, free: 5.723 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.496, allocations: 4.625 kB / 0.7032 GB, free: 5.719 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.496, allocations: 3.938 kB / 0.7032 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004278/1.497, allocations: 0.7109 MB / 0.7039 GB, free: 4.965 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/1.497, allocations: 125.3 kB / 0.704 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/1.497, allocations: 8 kB / 0.7041 GB, free: 4.832 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/1.497, allocations: 12.56 kB / 0.7041 GB, free: 4.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/1.497, allocations: 35.88 kB / 0.7041 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/1.497, allocations: 12 kB / 0.7041 GB, free: 4.773 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002042/1.497, allocations: 314.8 kB / 0.7044 GB, free: 4.469 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/1.497, allocations: 4 kB / 0.7044 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002824/1.5, allocations: 1.523 MB / 0.7059 GB, free: 2.938 MB / 0.6198 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.00356/1.504, allocations: 2.351 MB / 0.7082 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004336/1.504, allocations: 457 kB / 0.7086 GB, free: 116 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.504, allocations: 4 kB / 0.7086 GB, free: 112 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.1258/1.63, allocations: 169.1 kB / 0.7088 GB, free: 295.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00094/1.631, allocations: 295.4 kB / 0.7091 GB, free: 295.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/1.632, allocations: 1.312 MB / 0.7104 GB, free: 294.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.087e-05/1.633, allocations: 179.8 kB / 0.7105 GB, free: 294.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001883/1.633, allocations: 84.05 kB / 0.7106 GB, free: 294.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.557e-05/1.633, allocations: 48.88 kB / 0.7107 GB, free: 294.4 MB / 0.6198 GB Notification: Performance of SimCode: time 1.302e-06/1.633, allocations: 0 / 0.7107 GB, free: 294.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.03613/1.669, allocations: 51.86 MB / 0.7613 GB, free: 248.8 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.287471967982128]