Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.001441/0.001441, allocations: 186 kB / 16.25 MB, free: 6.137 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.404/1.404, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.976/2.976, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 68.09 kB / 0.9115 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3357, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.05833/0.3941, allocations: 60.73 MB / 1.127 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01747/0.4116, allocations: 11.92 MB / 1.139 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002706/0.4143, allocations: 59.62 kB / 1.139 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002084/0.4165, allocations: 0.579 MB / 1.139 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006078/0.4226, allocations: 1.828 MB / 1.141 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003374/0.426, allocations: 1.094 MB / 1.142 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005583/0.4316, allocations: 3.093 MB / 1.145 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002885/0.4345, allocations: 1.112 MB / 1.146 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004768/0.4393, allocations: 1.334 MB / 1.148 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.4412, allocations: 0.9296 MB / 1.148 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002925/0.4415, allocations: 119.9 kB / 1.149 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003812/0.4453, allocations: 1.493 MB / 1.15 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003999/0.4458, allocations: 294.9 kB / 1.15 GB, free: 5.953 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001397/0.4472, allocations: 0.6919 MB / 1.151 GB, free: 5.258 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005428/0.4526, allocations: 2.314 MB / 1.153 GB, free: 2.938 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4527, allocations: 3.938 kB / 1.153 GB, free: 2.934 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4527, allocations: 4 kB / 1.153 GB, free: 2.93 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.717e-05/0.4527, allocations: 0 / 1.153 GB, free: 2.93 MB / 0.9044 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.003401/0.4561, allocations: 1.728 MB / 1.155 GB, free: 1.141 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.4562, allocations: 12.03 kB / 1.155 GB, free: 1.129 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/0.4579, allocations: 338.9 kB / 1.155 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/0.4599, allocations: 1.136 MB / 1.156 GB, free: 15.6 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003317/0.4603, allocations: 113.9 kB / 1.156 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.4604, allocations: 80 kB / 1.157 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.4623, allocations: 0.9582 MB / 1.157 GB, free: 14.41 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.4624, allocations: 0 / 1.157 GB, free: 14.41 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-05/0.4625, allocations: 36 kB / 1.158 GB, free: 14.38 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.4625, allocations: 16 kB / 1.158 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.4645, allocations: 0.8079 MB / 1.158 GB, free: 13.55 MB / 0.92 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.006351/0.4708, allocations: 4.757 MB / 1.163 GB, free: 8.441 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.4723, allocations: 0.5763 MB / 1.164 GB, free: 7.855 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005788/0.4729, allocations: 268.7 kB / 1.164 GB, free: 7.59 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001332/0.4743, allocations: 1.376 MB / 1.165 GB, free: 5.918 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.4743, allocations: 42.52 kB / 1.165 GB, free: 5.867 MB / 0.92 GB Notification: Performance of pre-optimization done (n=44): time 2.906e-06/0.4743, allocations: 0 / 1.165 GB, free: 5.867 MB / 0.92 GB Notification: Performance of matching and sorting (n=44): time 0.005797/0.4801, allocations: 1.548 MB / 1.167 GB, free: 4.289 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.4802, allocations: 55.41 kB / 1.167 GB, free: 4.223 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.4817, allocations: 1.052 MB / 1.168 GB, free: 3.156 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.924e-05/0.4818, allocations: 33.7 kB / 1.168 GB, free: 3.117 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000419/0.4822, allocations: 0.5235 MB / 1.168 GB, free: 2.59 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.4824, allocations: 149.8 kB / 1.168 GB, free: 2.441 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.4826, allocations: 138 kB / 1.169 GB, free: 2.301 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4827, allocations: 326 kB / 1.169 GB, free: 1.977 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007472/0.4835, allocations: 282.9 kB / 1.169 GB, free: 1.699 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008974/0.4844, allocations: 468.4 kB / 1.17 GB, free: 1.164 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.4858, allocations: 0.6225 MB / 1.17 GB, free: 500 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.4858, allocations: 4 kB / 1.17 GB, free: 496 kB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002338/0.4881, allocations: 0.9259 MB / 1.171 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.4882, allocations: 5.719 kB / 1.171 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.4882, allocations: 4 kB / 1.171 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.4895, allocations: 325 kB / 1.171 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004515/0.4899, allocations: 111.8 kB / 1.172 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.4914, allocations: 0.9169 MB / 1.172 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.4926, allocations: 167.2 kB / 1.173 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-05/0.4927, allocations: 31.98 kB / 1.173 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001047/0.4938, allocations: 489.1 kB / 1.173 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008642/0.4946, allocations: 467.7 kB / 1.174 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00132/0.496, allocations: 0.6114 MB / 1.174 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/0.496, allocations: 0 / 1.174 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002319/0.4983, allocations: 0.922 MB / 1.175 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4983, allocations: 11.94 kB / 1.175 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.4984, allocations: 4 kB / 1.175 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.4995, allocations: 308.8 kB / 1.175 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/0.5, allocations: 107.8 kB / 1.175 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.5014, allocations: 0.9133 MB / 1.176 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.5027, allocations: 139.6 kB / 1.176 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-05/0.5028, allocations: 35.98 kB / 1.177 GB, free: 9.82 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (51): * Single equations (assignments): 50 * 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.0002702/0.5031, allocations: 221.3 kB / 1.177 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.5033, allocations: 114.6 kB / 1.177 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/0.5056, allocations: 0.9048 MB / 1.178 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.5056, allocations: 11.98 kB / 1.178 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5056, allocations: 0 / 1.178 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.5056, allocations: 0 / 1.178 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005694/0.5113, allocations: 2.214 MB / 1.18 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.5113, allocations: 0 / 1.18 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.5116, allocations: 59.84 kB / 1.18 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/0.5126, allocations: 308.8 kB / 1.18 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.5127, allocations: 16 kB / 1.18 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.5141, allocations: 0.9442 MB / 1.181 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.5141, allocations: 4 kB / 1.181 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004279/0.5184, allocations: 1.259 MB / 1.182 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006752/0.5191, allocations: 263.5 kB / 1.183 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/0.5193, allocations: 11.94 kB / 1.183 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008506/0.5202, allocations: 91.84 kB / 1.183 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.5203, allocations: 35.89 kB / 1.183 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.359e-05/0.5203, allocations: 27.98 kB / 1.183 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00118/0.5215, allocations: 0.743 MB / 1.184 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5215, allocations: 0 / 1.184 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00198/0.5235, allocations: 0.577 MB / 1.184 GB, free: 1.82 MB / 0.9356 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 (34): * Single equations (assignments): 29 * 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.001075/0.5246, allocations: 399.4 kB / 1.184 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003029/0.5276, allocations: 1.027 MB / 1.185 GB, free: 416 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.5277, allocations: 12.05 kB / 1.185 GB, free: 404 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007819/0.5285, allocations: 324.2 kB / 1.186 GB, free: 80 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/0.5309, allocations: 0.5023 MB / 1.186 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/0.5346, allocations: 2.246 MB / 1.188 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006559/0.5353, allocations: 1.065 MB / 1.19 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009796/0.5363, allocations: 212.7 kB / 1.19 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.5365, allocations: 79.42 kB / 1.19 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of SimCode: time 1.002e-06/0.5365, allocations: 0 / 1.19 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of Templates: time 0.04319/0.5797, allocations: 24.81 MB / 1.214 GB, free: 3.375 MB / 0.9669 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)