Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 80.81 kB / 21.55 MB, free: 2.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 165.1 kB / 24.96 MB, free: 8.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9559/0.9559, allocations: 177.1 MB / 205.4 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.879/1.879, allocations: 389.6 MB / 0.6362 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.776 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.257e-05, allocations: 2.312 kB / 0.776 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.01953/0.01955, allocations: 17.9 MB / 0.7934 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01283/0.03239, allocations: 6.567 MB / 0.7998 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/0.03425, allocations: 79.31 kB / 0.7999 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0008072/0.03506, allocations: 400.9 kB / 0.8003 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002346/0.03741, allocations: 1.465 MB / 0.8017 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.03915, allocations: 1.201 MB / 0.8029 GB, free: 9.789 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002124/0.04128, allocations: 3.029 MB / 0.8059 GB, free: 6.754 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009869/0.04226, allocations: 0.9009 MB / 0.8067 GB, free: 5.828 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.04381, allocations: 1.536 MB / 0.8082 GB, free: 4.297 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006045/0.04441, allocations: 0.6978 MB / 0.8089 GB, free: 3.598 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.04451, allocations: 112 kB / 0.809 GB, free: 3.488 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.04559, allocations: 0.9247 MB / 0.8099 GB, free: 2.562 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.04577, allocations: 302.7 kB / 0.8102 GB, free: 2.266 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003181/0.04608, allocations: 455.9 kB / 0.8107 GB, free: 1.82 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.04739, allocations: 1.514 MB / 0.8121 GB, free: 308 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.04739, allocations: 4 kB / 0.8121 GB, free: 304 kB / 0.7605 GB Notification: Performance of FrontEnd: time 9.72e-07/0.04739, allocations: 5.031 kB / 0.8122 GB, free: 300 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.0474, allocations: 0 / 0.8122 GB, free: 300 kB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.001464/0.04887, allocations: 1.596 MB / 0.8137 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.0489, allocations: 14.22 kB / 0.8137 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007519/0.04965, allocations: 355.3 kB / 0.8141 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008658/0.05051, allocations: 0.783 MB / 0.8148 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/0.05055, allocations: 62 kB / 0.8149 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.52e-05/0.05062, allocations: 84 kB / 0.815 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007181/0.05134, allocations: 0.7639 MB / 0.8157 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.05135, allocations: 0 / 0.8157 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.153e-05/0.05139, allocations: 32 kB / 0.8157 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.0514, allocations: 23.94 kB / 0.8158 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003982/0.0518, allocations: 272.2 kB / 0.816 GB, free: 12.18 MB / 0.7761 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.002533/0.05433, allocations: 2.92 MB / 0.8189 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007/0.05503, allocations: 382.4 kB / 0.8192 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.05514, allocations: 99.58 kB / 0.8193 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.81e-05/0.05522, allocations: 45.5 kB / 0.8194 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.05524, allocations: 42.5 kB / 0.8194 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=43): time 1.683e-06/0.05525, allocations: 0 / 0.8194 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43): time 0.001947/0.05719, allocations: 0.8852 MB / 0.8203 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.05722, allocations: 59.41 kB / 0.8203 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005357/0.05775, allocations: 0.7643 MB / 0.8211 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.05778, allocations: 37.7 kB / 0.8211 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004222/0.0582, allocations: 433.8 kB / 0.8215 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.887e-05/0.05827, allocations: 154.6 kB / 0.8217 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.0584, allocations: 130.2 kB / 0.8218 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 7.476e-05/0.05847, allocations: 329.9 kB / 0.8221 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.05861, allocations: 86.28 kB / 0.8222 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/0.05899, allocations: 0.7184 MB / 0.8229 GB, free: 4.781 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.05928, allocations: 368 kB / 0.8233 GB, free: 4.344 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.05929, allocations: 0 / 0.8233 GB, free: 4.344 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008293/0.06012, allocations: 0.5274 MB / 0.8238 GB, free: 3.801 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.06013, allocations: 8 kB / 0.8238 GB, free: 3.793 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.06014, allocations: 4 kB / 0.8238 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003862/0.06052, allocations: 173.6 kB / 0.8239 GB, free: 3.617 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.06076, allocations: 123.9 kB / 0.8241 GB, free: 3.496 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003546/0.06112, allocations: 0.6408 MB / 0.8247 GB, free: 2.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.06146, allocations: 107.5 kB / 0.8248 GB, free: 2.723 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/0.0615, allocations: 23.98 kB / 0.8248 GB, free: 2.699 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002307/0.06173, allocations: 187 kB / 0.825 GB, free: 2.512 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003276/0.06206, allocations: 0.7183 MB / 0.8257 GB, free: 1.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002792/0.06234, allocations: 359.6 kB / 0.826 GB, free: 1.16 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/0.06234, allocations: 0 / 0.826 GB, free: 1.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.0008002/0.06314, allocations: 0.5273 MB / 0.8266 GB, free: 0.6172 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.06315, allocations: 10.34 kB / 0.8266 GB, free: 0.6094 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.06316, allocations: 7.938 kB / 0.8266 GB, free: 0.6016 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000289/0.06344, allocations: 166.6 kB / 0.8267 GB, free: 448 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.06367, allocations: 119.8 kB / 0.8268 GB, free: 328 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003196/0.06399, allocations: 0.6331 MB / 0.8275 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/0.06432, allocations: 99.66 kB / 0.8276 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.06435, allocations: 23.98 kB / 0.8276 GB, free: 15.54 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 initialization (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003673/0.06472, allocations: 228 kB / 0.8278 GB, free: 15.31 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.642e-05/0.0648, allocations: 71.92 kB / 0.8279 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008343/0.06563, allocations: 0.5307 MB / 0.8284 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.06564, allocations: 7.984 kB / 0.8284 GB, free: 14.69 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.06564, allocations: 0 / 0.8284 GB, free: 14.69 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.06565, allocations: 3.938 kB / 0.8284 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.06711, allocations: 1.112 MB / 0.8295 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.06712, allocations: 4 kB / 0.8295 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.06723, allocations: 56.19 kB / 0.8295 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002752/0.06751, allocations: 159.4 kB / 0.8297 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.06753, allocations: 24.05 kB / 0.8297 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003448/0.06787, allocations: 0.6574 MB / 0.8304 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.06788, allocations: 3.938 kB / 0.8304 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007378/0.06862, allocations: 0.6273 MB / 0.831 GB, free: 11.9 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.06879, allocations: 131.2 kB / 0.8311 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-05/0.06884, allocations: 15.94 kB / 0.8311 GB, free: 11.76 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.06909, allocations: 39.97 kB / 0.8312 GB, free: 11.72 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.06914, allocations: 32.27 kB / 0.8312 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.06916, allocations: 19.98 kB / 0.8312 GB, free: 11.67 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002737/0.06944, allocations: 379.5 kB / 0.8316 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.71e-07/0.06944, allocations: 0 / 0.8316 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0007355/0.07017, allocations: 0.5573 MB / 0.8321 GB, free: 10.73 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002914/0.07046, allocations: 217.8 kB / 0.8323 GB, free: 10.5 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0006029/0.07107, allocations: 0.4922 MB / 0.8328 GB, free: 10.01 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.07108, allocations: 12 kB / 0.8328 GB, free: 10 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.07125, allocations: 156 kB / 0.833 GB, free: 9.844 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008029/0.07205, allocations: 399.3 kB / 0.8333 GB, free: 9.457 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.07441, allocations: 1.722 MB / 0.835 GB, free: 7.664 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.07454, allocations: 188.8 kB / 0.8352 GB, free: 7.457 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003596/0.0749, allocations: 167.5 kB / 0.8354 GB, free: 7.289 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005089/0.0754, allocations: 347 kB / 0.8357 GB, free: 6.945 MB / 0.7917 GB Notification: Performance of SimCode: time 1.042e-06/0.07541, allocations: 0 / 0.8357 GB, free: 6.945 MB / 0.7917 GB Notification: Performance of Templates: time 0.02308/0.09849, allocations: 20.91 MB / 0.8561 GB, free: 2.473 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_13_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.376970604993403]