Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.001499/0.001499, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001287/0.001287, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9945/0.9945, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.934/1.934, allocations: 389.6 MB / 0.6354 GB, free: 12.31 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.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.7751 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.399e-05, allocations: 4.188 kB / 0.7752 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.02063/0.02066, allocations: 18.43 MB / 0.7932 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01122/0.03188, allocations: 7.119 MB / 0.8001 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001787/0.03366, allocations: 95.19 kB / 0.8002 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0009065/0.03457, allocations: 440.5 kB / 0.8006 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002954/0.03752, allocations: 1.735 MB / 0.8023 GB, free: 9.633 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0024/0.03992, allocations: 1.551 MB / 0.8038 GB, free: 8.09 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0039/0.04382, allocations: 3.931 MB / 0.8077 GB, free: 4.148 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.04501, allocations: 1.155 MB / 0.8088 GB, free: 2.941 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.04719, allocations: 1.967 MB / 0.8107 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009353/0.04813, allocations: 0.9337 MB / 0.8116 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.04829, allocations: 176.9 kB / 0.8118 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009132/0.04921, allocations: 0.6511 MB / 0.8124 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.04945, allocations: 395.3 kB / 0.8128 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0004798/0.04993, allocations: 0.5962 MB / 0.8134 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.0516, allocations: 1.635 MB / 0.815 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.05161, allocations: 1.875 kB / 0.815 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.362e-06/0.05161, allocations: 0 / 0.815 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.05162, allocations: 0 / 0.815 GB, free: 12.59 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.001819/0.05344, allocations: 1.896 MB / 0.8168 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.05347, allocations: 9.344 kB / 0.8168 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008182/0.05429, allocations: 398.6 kB / 0.8172 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.05551, allocations: 0.9476 MB / 0.8182 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.404e-05/0.05557, allocations: 82.03 kB / 0.8182 GB, free: 9.195 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.05567, allocations: 104.9 kB / 0.8183 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009726/0.05665, allocations: 0.9894 MB / 0.8193 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.05667, allocations: 4.625 kB / 0.8193 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.753e-05/0.05673, allocations: 44 kB / 0.8193 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.05674, allocations: 24.69 kB / 0.8194 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.05721, allocations: 361.4 kB / 0.8197 GB, free: 7.555 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.003628/0.06084, allocations: 4.257 MB / 0.8239 GB, free: 3.172 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007291/0.06157, allocations: 425 kB / 0.8243 GB, free: 2.754 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.06167, allocations: 93.09 kB / 0.8244 GB, free: 2.656 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.0618, allocations: 65.91 kB / 0.8244 GB, free: 2.594 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.06183, allocations: 39.06 kB / 0.8245 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=48): time 2.164e-06/0.06183, allocations: 3.938 kB / 0.8245 GB, free: 2.543 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.001182/0.06301, allocations: 0.5503 MB / 0.825 GB, free: 2 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.06304, allocations: 56.41 kB / 0.8251 GB, free: 1.934 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007406/0.06378, allocations: 0.9501 MB / 0.826 GB, free: 0.9766 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.06381, allocations: 37.69 kB / 0.826 GB, free: 0.9336 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.06406, allocations: 0.5495 MB / 0.8266 GB, free: 384 kB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.566e-05/0.06414, allocations: 179.5 kB / 0.8267 GB, free: 204 kB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.0643, allocations: 170.4 kB / 0.8269 GB, free: 24 kB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.949e-05/0.06439, allocations: 334 kB / 0.8272 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.06457, allocations: 101.4 kB / 0.8273 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000668/0.06524, allocations: 0.7216 MB / 0.828 GB, free: 14.67 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003975/0.06564, allocations: 488.7 kB / 0.8285 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.06564, allocations: 0 / 0.8285 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005989/0.06624, allocations: 0.5085 MB / 0.829 GB, free: 13.56 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.06626, allocations: 8 kB / 0.829 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.06627, allocations: 8 kB / 0.829 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004341/0.0667, allocations: 176.9 kB / 0.8292 GB, free: 13.37 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/0.0671, allocations: 171.7 kB / 0.8293 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003161/0.06741, allocations: 0.5835 MB / 0.8299 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004519/0.06786, allocations: 139.3 kB / 0.83 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.267e-05/0.06792, allocations: 35.98 kB / 0.8301 GB, free: 12.42 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (83): * Single equations (assignments): 82 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001965/0.06811, allocations: 160.4 kB / 0.8302 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.38e-05/0.06821, allocations: 79.91 kB / 0.8303 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007353/0.06894, allocations: 0.6414 MB / 0.8309 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.06895, allocations: 23.92 kB / 0.8309 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.06896, allocations: 0 / 0.8309 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.06896, allocations: 0 / 0.8309 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.07051, allocations: 1.284 MB / 0.8322 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.07051, allocations: 3.938 kB / 0.8322 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.07067, allocations: 75.89 kB / 0.8323 GB, free: 10.09 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003388/0.07101, allocations: 160.8 kB / 0.8324 GB, free: 9.926 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.07103, allocations: 15.98 kB / 0.8324 GB, free: 9.91 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003658/0.07139, allocations: 0.6069 MB / 0.833 GB, free: 9.277 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.0714, allocations: 8.016 kB / 0.833 GB, free: 9.27 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008113/0.07221, allocations: 0.6528 MB / 0.8337 GB, free: 8.578 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.07243, allocations: 170.8 kB / 0.8338 GB, free: 8.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.599e-05/0.07251, allocations: 15.98 kB / 0.8339 GB, free: 8.395 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.07279, allocations: 47.97 kB / 0.8339 GB, free: 8.348 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.07284, allocations: 40.36 kB / 0.8339 GB, free: 8.309 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.07287, allocations: 19.98 kB / 0.834 GB, free: 8.289 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0006443/0.07352, allocations: 478.4 kB / 0.8344 GB, free: 7.816 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.6e-07/0.07352, allocations: 0 / 0.8344 GB, free: 7.816 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0007134/0.07423, allocations: 395 kB / 0.8348 GB, free: 7.43 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003062/0.07454, allocations: 213.9 kB / 0.835 GB, free: 7.207 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004889/0.07503, allocations: 368.4 kB / 0.8353 GB, free: 6.848 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.732e-05/0.07504, allocations: 17.19 kB / 0.8354 GB, free: 6.828 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002977/0.07534, allocations: 210 kB / 0.8356 GB, free: 6.617 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009722/0.07631, allocations: 470.5 kB / 0.836 GB, free: 6.164 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.07872, allocations: 2.016 MB / 0.838 GB, free: 4.086 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.07887, allocations: 237 kB / 0.8382 GB, free: 3.828 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004353/0.0793, allocations: 197.2 kB / 0.8384 GB, free: 3.633 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006567/0.07996, allocations: 415 kB / 0.8388 GB, free: 3.219 MB / 0.7917 GB Notification: Performance of SimCode: time 1.112e-06/0.07996, allocations: 0 / 0.8388 GB, free: 3.219 MB / 0.7917 GB Notification: Performance of Templates: time 0.03186/0.1118, allocations: 23.1 MB / 0.8613 GB, free: 12.62 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.555077654775232]