Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.209/2.209, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.001409, allocations: 181.4 kB / 499.1 MB, free: 4.633 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 107.6 kB / 0.9329 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001066, allocations: 53.05 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.315, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05478/0.3699, allocations: 70.09 MB / 1.287 GB, free: 46.95 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.02046/0.3904, allocations: 19.01 MB / 1.305 GB, free: 27.9 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003449/0.3939, allocations: 67.56 kB / 1.305 GB, free: 27.83 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.003165/0.3971, allocations: 0.6488 MB / 1.306 GB, free: 27.18 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.007976/0.4051, allocations: 2.61 MB / 1.308 GB, free: 24.56 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004396/0.4096, allocations: 1.493 MB / 1.31 GB, free: 23.07 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.006224/0.4158, allocations: 5.037 MB / 1.315 GB, free: 18.02 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002457/0.4183, allocations: 1.171 MB / 1.316 GB, free: 16.82 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003787/0.4221, allocations: 1.524 MB / 1.317 GB, free: 15.29 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/0.4245, allocations: 1.155 MB / 1.318 GB, free: 14.13 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004719/0.425, allocations: 79.94 kB / 1.319 GB, free: 14.05 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003531/0.4285, allocations: 1.232 MB / 1.32 GB, free: 12.82 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005927/0.4292, allocations: 294.6 kB / 1.32 GB, free: 12.53 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001568/0.4307, allocations: 0.8161 MB / 1.321 GB, free: 11.71 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.004618/0.4354, allocations: 3.027 MB / 1.324 GB, free: 8.672 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4354, allocations: 4 kB / 1.324 GB, free: 8.668 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.482e-06/0.4354, allocations: 0 / 1.324 GB, free: 8.668 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001011/0.4355, allocations: 0 / 1.324 GB, free: 8.668 MB / 0.823 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.004366/0.4399, allocations: 2.027 MB / 1.326 GB, free: 6.578 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.4399, allocations: 11.98 kB / 1.326 GB, free: 6.566 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002129/0.4421, allocations: 453.8 kB / 1.326 GB, free: 6.121 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/0.4444, allocations: 1.503 MB / 1.328 GB, free: 4.562 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003397/0.4448, allocations: 134 kB / 1.328 GB, free: 4.43 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.4449, allocations: 104 kB / 1.328 GB, free: 4.328 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.4471, allocations: 1.297 MB / 1.329 GB, free: 2.938 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.4471, allocations: 3.938 kB / 1.329 GB, free: 2.934 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.933e-05/0.4472, allocations: 44 kB / 1.329 GB, free: 2.891 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.4473, allocations: 31.88 kB / 1.329 GB, free: 2.859 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002391/0.4496, allocations: 1.109 MB / 1.33 GB, free: 1.746 MB / 0.823 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.008688/0.4583, allocations: 7.133 MB / 1.337 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/0.4616, allocations: 0.808 MB / 1.338 GB, free: 9.305 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00063/0.4622, allocations: 286 kB / 1.338 GB, free: 9.023 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001472/0.4637, allocations: 1.722 MB / 1.34 GB, free: 6.914 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.4638, allocations: 39 kB / 1.34 GB, free: 6.867 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=48): time 3.407e-06/0.4638, allocations: 0 / 1.34 GB, free: 6.867 MB / 0.8386 GB Notification: Performance of matching and sorting (n=48): time 0.005105/0.4689, allocations: 1.342 MB / 1.341 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.4689, allocations: 55.84 kB / 1.341 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002565/0.4715, allocations: 1.517 MB / 1.343 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.726e-05/0.4716, allocations: 37.7 kB / 1.343 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006226/0.4722, allocations: 0.6691 MB / 1.344 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.4724, allocations: 165.6 kB / 1.344 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000297/0.4727, allocations: 166.4 kB / 1.344 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.4729, allocations: 341.9 kB / 1.344 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.474, allocations: 357.8 kB / 1.345 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.4754, allocations: 0.639 MB / 1.345 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/0.4773, allocations: 0.8483 MB / 1.346 GB, free: 468 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.4773, allocations: 0 / 1.346 GB, free: 468 kB / 0.8386 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004707/0.482, allocations: 1.341 MB / 1.347 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/0.4821, allocations: 8 kB / 1.347 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.4821, allocations: 8 kB / 1.347 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.4831, allocations: 224.9 kB / 1.348 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007699/0.4839, allocations: 175.7 kB / 1.348 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009751/0.4849, allocations: 0.7242 MB / 1.348 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/0.4869, allocations: 242.6 kB / 1.349 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.4871, allocations: 43.97 kB / 1.349 GB, free: 13.66 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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.0008516/0.4879, allocations: 349.6 kB / 1.349 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004857/0.4884, allocations: 142.2 kB / 1.349 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002835/0.4913, allocations: 1.141 MB / 1.35 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.588e-05/0.4913, allocations: 15.86 kB / 1.35 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.4913, allocations: 4 kB / 1.35 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.4913, allocations: 0 / 1.35 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006509/0.4978, allocations: 2.514 MB / 1.353 GB, free: 9.395 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/0.4979, allocations: 4 kB / 1.353 GB, free: 9.391 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.4983, allocations: 83.89 kB / 1.353 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008853/0.4992, allocations: 216.8 kB / 1.353 GB, free: 9.094 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.546e-05/0.4993, allocations: 16 kB / 1.353 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/0.5007, allocations: 0.7708 MB / 1.354 GB, free: 8.281 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/0.5008, allocations: 4.031 kB / 1.354 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005881/0.5066, allocations: 2.423 MB / 1.356 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008739/0.5076, allocations: 347 kB / 1.357 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000355/0.5079, allocations: 15.91 kB / 1.357 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.5091, allocations: 95.83 kB / 1.357 GB, free: 5.301 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.5092, allocations: 36.45 kB / 1.357 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.762e-05/0.5093, allocations: 31.98 kB / 1.357 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0022/0.5115, allocations: 1.074 MB / 1.358 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5115, allocations: 4 kB / 1.358 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001825/0.5134, allocations: 447.4 kB / 1.358 GB, free: 3.723 MB / 0.8542 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.001227/0.5146, allocations: 474.3 kB / 1.359 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002432/0.517, allocations: 0.8251 MB / 1.359 GB, free: 2.438 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.5171, allocations: 0 / 1.359 GB, free: 2.438 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.5184, allocations: 443.5 kB / 1.36 GB, free: 2.008 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004084/0.5225, allocations: 0.6931 MB / 1.361 GB, free: 1.324 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005765/0.5283, allocations: 3.128 MB / 1.364 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/0.5295, allocations: 1.191 MB / 1.365 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001546/0.5311, allocations: 256.5 kB / 1.365 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004017/0.5315, allocations: 119.3 kB / 1.365 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of SimCode: time 2.324e-06/0.5315, allocations: 0 / 1.365 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of Templates: time 0.05527/0.5868, allocations: 30.77 MB / 1.395 GB, free: 14.06 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)