Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001197, allocations: 198.2 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.8/2.8, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.58 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.372, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06781/0.4398, allocations: 70.1 MB / 1.136 GB, free: 4.586 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02643/0.4663, allocations: 19 MB / 1.155 GB, free: 1.535 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003495/0.4699, allocations: 63.62 kB / 1.155 GB, free: 1.473 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003625/0.4735, allocations: 0.6566 MB / 1.155 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01228/0.4859, allocations: 2.61 MB / 1.158 GB, free: 14.19 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006581/0.4925, allocations: 1.493 MB / 1.159 GB, free: 12.71 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.009515/0.502, allocations: 5.009 MB / 1.164 GB, free: 7.676 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003503/0.5056, allocations: 1.187 MB / 1.165 GB, free: 6.461 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006256/0.5118, allocations: 1.501 MB / 1.167 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00357/0.5155, allocations: 1.155 MB / 1.168 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0008049/0.5163, allocations: 76 kB / 1.168 GB, free: 3.719 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005529/0.5218, allocations: 1.236 MB / 1.169 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00104/0.5229, allocations: 298.5 kB / 1.169 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00339/0.5263, allocations: 0.8122 MB / 1.17 GB, free: 1.371 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.008523/0.5349, allocations: 3.023 MB / 1.173 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.5349, allocations: 0 / 1.173 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.36e-06/0.535, allocations: 0 / 1.173 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001281/0.5351, allocations: 3.938 kB / 1.173 GB, free: 14.33 MB / 0.9356 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.007995/0.5431, allocations: 2.03 MB / 1.175 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/0.5432, allocations: 8.031 kB / 1.175 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003556/0.5468, allocations: 446.4 kB / 1.176 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004688/0.5515, allocations: 1.504 MB / 1.177 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005178/0.552, allocations: 138 kB / 1.177 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000402/0.5524, allocations: 104 kB / 1.177 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004334/0.5568, allocations: 1.297 MB / 1.179 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.658e-05/0.5569, allocations: 7.938 kB / 1.179 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001807/0.557, allocations: 47.88 kB / 1.179 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.554e-05/0.5571, allocations: 28 kB / 1.179 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004049/0.5611, allocations: 1.105 MB / 1.18 GB, free: 7.418 MB / 0.9356 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.01357/0.5747, allocations: 7.137 MB / 1.187 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004244/0.579, allocations: 0.8012 MB / 1.187 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000885/0.5799, allocations: 286 kB / 1.188 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001843/0.5818, allocations: 1.722 MB / 1.189 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.5819, allocations: 42.92 kB / 1.189 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=48): time 3.857e-06/0.5819, allocations: 0 / 1.189 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.006542/0.5884, allocations: 1.338 MB / 1.191 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.5885, allocations: 55.84 kB / 1.191 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004757/0.5933, allocations: 1.525 MB / 1.192 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.000175/0.5935, allocations: 41.7 kB / 1.192 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009035/0.5944, allocations: 0.6652 MB / 1.193 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/0.5947, allocations: 173.6 kB / 1.193 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004706/0.5952, allocations: 162.5 kB / 1.193 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.5954, allocations: 333.9 kB / 1.194 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.597, allocations: 361.8 kB / 1.194 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.5989, allocations: 0.6371 MB / 1.195 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002842/0.6018, allocations: 0.8522 MB / 1.195 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/0.6018, allocations: 4 kB / 1.195 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006931/0.6088, allocations: 1.329 MB / 1.197 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.6088, allocations: 8.812 kB / 1.197 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.6089, allocations: 8 kB / 1.197 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/0.6103, allocations: 216.6 kB / 1.197 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.6117, allocations: 187.7 kB / 1.197 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.613, allocations: 0.7202 MB / 1.198 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/0.6159, allocations: 238.7 kB / 1.198 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/0.6161, allocations: 39.97 kB / 1.198 GB, free: 3.348 MB / 0.9512 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.001022/0.6172, allocations: 357.5 kB / 1.198 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006167/0.6178, allocations: 146.2 kB / 1.199 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004064/0.6219, allocations: 1.133 MB / 1.2 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-05/0.6219, allocations: 12 kB / 1.2 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.6219, allocations: 3.938 kB / 1.2 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.622, allocations: 3.984 kB / 1.2 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008977/0.6309, allocations: 2.51 MB / 1.202 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.631, allocations: 0 / 1.202 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000626/0.6316, allocations: 79.89 kB / 1.202 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.6329, allocations: 224.7 kB / 1.202 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-05/0.633, allocations: 19.98 kB / 1.202 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002044/0.6351, allocations: 0.763 MB / 1.203 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.6351, allocations: 3.984 kB / 1.203 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005582/0.6407, allocations: 1.199 MB / 1.204 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/0.6419, allocations: 354.9 kB / 1.205 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004783/0.6424, allocations: 16 kB / 1.205 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/0.6442, allocations: 91.81 kB / 1.205 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.6444, allocations: 52.38 kB / 1.205 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.6445, allocations: 23.98 kB / 1.205 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003354/0.6479, allocations: 1.074 MB / 1.206 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.789e-06/0.6479, allocations: 0 / 1.206 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002378/0.6503, allocations: 443.3 kB / 1.206 GB, free: 10.68 MB / 0.9669 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.001479/0.6518, allocations: 474.9 kB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003542/0.6554, allocations: 0.829 MB / 1.208 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.6554, allocations: 0 / 1.208 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002186/0.6576, allocations: 451.4 kB / 1.208 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005984/0.6636, allocations: 0.6849 MB / 1.209 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007137/0.6707, allocations: 2.736 MB / 1.211 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/0.6721, allocations: 1.172 MB / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002039/0.6742, allocations: 269.6 kB / 1.213 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005378/0.6747, allocations: 115.4 kB / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of SimCode: time 1.503e-06/0.6748, allocations: 0 / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of Templates: time 0.06705/0.7418, allocations: 30.04 MB / 1.242 GB, free: 6.184 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)