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.001295/0.001295, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.00137/0.00137, allocations: 163.2 kB / 25.05 MB, free: 9.148 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.9131/0.9131, allocations: 177.1 MB / 205.5 MB, free: 5.477 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.906/1.906, allocations: 389.6 MB / 0.6363 GB, free: 12.29 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.503e-06/1.503e-06, allocations: 0 / 0.7761 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005e-05/1.155e-05, allocations: 5.266 kB / 0.7761 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.01267/0.01268, allocations: 17.9 MB / 0.7936 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.008398/0.02108, allocations: 6.537 MB / 0.8 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.02251, allocations: 79.31 kB / 0.8001 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0008753/0.02339, allocations: 396.9 kB / 0.8004 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002835/0.02622, allocations: 1.462 MB / 0.8019 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.02822, allocations: 1.19 MB / 0.803 GB, free: 9.77 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003412/0.03163, allocations: 3.035 MB / 0.806 GB, free: 6.73 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001556/0.03319, allocations: 0.8999 MB / 0.8069 GB, free: 5.801 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002123/0.03531, allocations: 1.545 MB / 0.8084 GB, free: 4.262 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000851/0.03616, allocations: 0.6902 MB / 0.8091 GB, free: 3.57 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.03631, allocations: 112 kB / 0.8092 GB, free: 3.461 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.03773, allocations: 0.9239 MB / 0.8101 GB, free: 2.535 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.03795, allocations: 303.6 kB / 0.8104 GB, free: 2.238 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0004304/0.03838, allocations: 462.9 kB / 0.8108 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.04037, allocations: 1.511 MB / 0.8123 GB, free: 276 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.04038, allocations: 0 / 0.8123 GB, free: 276 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.994e-06/0.04038, allocations: 4 kB / 0.8123 GB, free: 272 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.617e-05/0.0404, allocations: 1.031 kB / 0.8123 GB, free: 272 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.001926/0.04232, allocations: 1.596 MB / 0.8138 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.04236, allocations: 13.34 kB / 0.8139 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007998/0.04316, allocations: 346.8 kB / 0.8142 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.04423, allocations: 0.7952 MB / 0.815 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/0.04427, allocations: 62 kB / 0.815 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.497e-05/0.04435, allocations: 84.56 kB / 0.8151 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007549/0.0451, allocations: 0.7554 MB / 0.8158 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.04512, allocations: 7.938 kB / 0.8158 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.04516, allocations: 32 kB / 0.8159 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.04518, allocations: 20.5 kB / 0.8159 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003375/0.04551, allocations: 267.5 kB / 0.8162 GB, free: 12.16 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.002682/0.0482, allocations: 2.921 MB / 0.819 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000732/0.04893, allocations: 384.9 kB / 0.8194 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.04904, allocations: 105.9 kB / 0.8195 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.992e-05/0.04914, allocations: 39.97 kB / 0.8195 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.04916, allocations: 38.56 kB / 0.8195 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=43): time 1.944e-06/0.04916, allocations: 1.219 kB / 0.8196 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43): time 0.002185/0.05135, allocations: 0.8881 MB / 0.8204 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.05137, allocations: 55.41 kB / 0.8205 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006288/0.052, allocations: 0.7675 MB / 0.8212 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.05204, allocations: 41.7 kB / 0.8213 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.05222, allocations: 429.8 kB / 0.8217 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.307e-05/0.0523, allocations: 154.6 kB / 0.8218 GB, free: 6.223 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.05242, allocations: 130.2 kB / 0.8219 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 7.235e-05/0.0525, allocations: 329.9 kB / 0.8223 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.05264, allocations: 98.16 kB / 0.8223 GB, free: 5.664 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.05299, allocations: 0.7146 MB / 0.823 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.0533, allocations: 368 kB / 0.8234 GB, free: 4.312 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.0533, allocations: 0 / 0.8234 GB, free: 4.312 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008752/0.05418, allocations: 0.5275 MB / 0.8239 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.05419, allocations: 8 kB / 0.8239 GB, free: 3.762 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.0542, allocations: 4 kB / 0.8239 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004373/0.05464, allocations: 181.5 kB / 0.8241 GB, free: 3.578 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.05489, allocations: 119.9 kB / 0.8242 GB, free: 3.461 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003977/0.05529, allocations: 0.6447 MB / 0.8248 GB, free: 2.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004128/0.0557, allocations: 99.56 kB / 0.8249 GB, free: 2.691 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.52e-05/0.05574, allocations: 35.92 kB / 0.825 GB, free: 2.656 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002646/0.05601, allocations: 175.1 kB / 0.8251 GB, free: 2.48 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003534/0.05636, allocations: 0.7144 MB / 0.8258 GB, free: 1.562 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002907/0.05665, allocations: 355.5 kB / 0.8262 GB, free: 1.137 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.178e-06/0.05666, allocations: 4 kB / 0.8262 GB, free: 1.133 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.0009046/0.05756, allocations: 0.5274 MB / 0.8267 GB, free: 0.5898 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.05757, allocations: 8 kB / 0.8267 GB, free: 0.582 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.05758, allocations: 15.92 kB / 0.8267 GB, free: 0.5664 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003257/0.05791, allocations: 166.3 kB / 0.8269 GB, free: 412 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.05814, allocations: 119.8 kB / 0.827 GB, free: 292 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000349/0.05848, allocations: 0.6253 MB / 0.8276 GB, free: 15.63 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003992/0.05888, allocations: 103.6 kB / 0.8277 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.05892, allocations: 20 kB / 0.8277 GB, free: 15.51 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.0001429/0.05906, allocations: 228 kB / 0.8279 GB, free: 15.28 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.502e-05/0.05915, allocations: 71.92 kB / 0.828 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000898/0.06005, allocations: 0.5191 MB / 0.8285 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.06006, allocations: 12 kB / 0.8285 GB, free: 14.67 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.06006, allocations: 0 / 0.8285 GB, free: 14.67 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.06007, allocations: 12 kB / 0.8285 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.06156, allocations: 1.116 MB / 0.8296 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-06/0.06157, allocations: 0 / 0.8296 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.06169, allocations: 55.91 kB / 0.8297 GB, free: 13.43 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003119/0.062, allocations: 171.7 kB / 0.8298 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.06202, allocations: 8 kB / 0.8298 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000381/0.0624, allocations: 0.6556 MB / 0.8305 GB, free: 12.56 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.06241, allocations: 7.938 kB / 0.8305 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007938/0.0632, allocations: 0.6196 MB / 0.8311 GB, free: 11.88 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.06339, allocations: 127.2 kB / 0.8312 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.792e-05/0.06345, allocations: 19.94 kB / 0.8312 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.06371, allocations: 39.89 kB / 0.8313 GB, free: 11.7 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.06377, allocations: 44.2 kB / 0.8313 GB, free: 11.65 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.06379, allocations: 15.98 kB / 0.8313 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003079/0.0641, allocations: 379.5 kB / 0.8317 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.0641, allocations: 0 / 0.8317 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0009893/0.06509, allocations: 0.5495 MB / 0.8322 GB, free: 10.7 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.0003431/0.06543, allocations: 225.8 kB / 0.8325 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0007495/0.06618, allocations: 0.4916 MB / 0.8329 GB, free: 9.984 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.478e-05/0.0662, allocations: 12 kB / 0.8329 GB, free: 9.973 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.06639, allocations: 159.8 kB / 0.8331 GB, free: 9.812 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009823/0.06738, allocations: 406.3 kB / 0.8335 GB, free: 9.422 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.06985, allocations: 1.708 MB / 0.8352 GB, free: 7.645 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.06997, allocations: 200.8 kB / 0.8353 GB, free: 7.426 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004824/0.07046, allocations: 163.5 kB / 0.8355 GB, free: 7.262 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005385/0.07099, allocations: 351 kB / 0.8358 GB, free: 6.914 MB / 0.7917 GB Notification: Performance of SimCode: time 1.663e-06/0.071, allocations: 0 / 0.8358 GB, free: 6.914 MB / 0.7917 GB Notification: Performance of Templates: time 0.0254/0.09639, allocations: 20.91 MB / 0.8563 GB, free: 2.438 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.234542306512594]