Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001532/0.001533, allocations: 194.5 kB / 16.14 MB, free: 6.633 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.421/1.421, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.861/2.861, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 63.41 kB / 0.9114 GB, free: 33.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5097/0.5117, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.1132/0.625, allocations: 60.87 MB / 1.127 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03329/0.6583, allocations: 12.07 MB / 1.139 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003884/0.6623, allocations: 55.62 kB / 1.139 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.004075/0.6664, allocations: 0.5399 MB / 1.139 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.6773, allocations: 1.812 MB / 1.141 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00636/0.6837, allocations: 1.074 MB / 1.142 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.009067/0.6928, allocations: 3.904 MB / 1.146 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003114/0.6959, allocations: 0.9238 MB / 1.147 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005247/0.7012, allocations: 1.155 MB / 1.148 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00429/0.7056, allocations: 0.8982 MB / 1.149 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0008367/0.7065, allocations: 56 kB / 1.149 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008048/0.7146, allocations: 1.368 MB / 1.15 GB, free: 5.867 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008638/0.7155, allocations: 234.9 kB / 1.15 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002337/0.7179, allocations: 0.6333 MB / 1.151 GB, free: 5 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.007795/0.7257, allocations: 2.244 MB / 1.153 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.7258, allocations: 0 / 1.153 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.816e-06/0.7258, allocations: 8 kB / 1.153 GB, free: 2.742 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.342e-05/0.7259, allocations: 0 / 1.153 GB, free: 2.742 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.006895/0.7328, allocations: 1.73 MB / 1.155 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.328e-05/0.7329, allocations: 8.031 kB / 1.155 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003381/0.7363, allocations: 347 kB / 1.155 GB, free: 0.6016 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00438/0.7407, allocations: 1.121 MB / 1.156 GB, free: 15.42 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000651/0.7414, allocations: 121.9 kB / 1.157 GB, free: 15.3 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002965/0.7417, allocations: 84 kB / 1.157 GB, free: 15.22 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003835/0.7456, allocations: 0.9427 MB / 1.158 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.081e-05/0.7457, allocations: 4 kB / 1.158 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.7458, allocations: 32 kB / 1.158 GB, free: 14.2 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.22e-05/0.7459, allocations: 16 kB / 1.158 GB, free: 14.18 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004075/0.75, allocations: 0.8079 MB / 1.158 GB, free: 13.38 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.0121/0.7621, allocations: 4.753 MB / 1.163 GB, free: 8.27 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002697/0.7648, allocations: 0.5705 MB / 1.164 GB, free: 7.688 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.7659, allocations: 268.7 kB / 1.164 GB, free: 7.422 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002327/0.7683, allocations: 1.369 MB / 1.165 GB, free: 5.758 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/0.7683, allocations: 42.45 kB / 1.165 GB, free: 5.707 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 4.008e-06/0.7684, allocations: 0 / 1.165 GB, free: 5.707 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.009743/0.7781, allocations: 1.669 MB / 1.167 GB, free: 4.008 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.7782, allocations: 63.41 kB / 1.167 GB, free: 3.934 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002105/0.7803, allocations: 1.051 MB / 1.168 GB, free: 2.867 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.247e-05/0.7804, allocations: 37.7 kB / 1.168 GB, free: 2.824 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005104/0.7809, allocations: 0.5273 MB / 1.168 GB, free: 2.293 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.7811, allocations: 145.9 kB / 1.169 GB, free: 2.148 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/0.7814, allocations: 126.1 kB / 1.169 GB, free: 2.02 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.7815, allocations: 325.9 kB / 1.169 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007981/0.7823, allocations: 278.9 kB / 1.169 GB, free: 1.422 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009925/0.7833, allocations: 477.2 kB / 1.17 GB, free: 0.875 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.7848, allocations: 0.6312 MB / 1.17 GB, free: 192 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.7849, allocations: 0 / 1.17 GB, free: 192 kB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002633/0.7875, allocations: 0.9263 MB / 1.171 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.7875, allocations: 12.03 kB / 1.171 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.7876, allocations: 4 kB / 1.171 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/0.789, allocations: 314.3 kB / 1.172 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004712/0.7894, allocations: 119.7 kB / 1.172 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.791, allocations: 0.9152 MB / 1.173 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.7924, allocations: 155.3 kB / 1.173 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.943e-05/0.7925, allocations: 32.08 kB / 1.173 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001117/0.7936, allocations: 485.7 kB / 1.173 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009486/0.7946, allocations: 473 kB / 1.174 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001452/0.796, allocations: 0.6278 MB / 1.174 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.808e-06/0.796, allocations: 0 / 1.174 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002531/0.7986, allocations: 0.9255 MB / 1.175 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.7986, allocations: 9.406 kB / 1.175 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.7986, allocations: 4 kB / 1.175 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.7998, allocations: 305.6 kB / 1.176 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000468/0.8003, allocations: 115.8 kB / 1.176 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.8018, allocations: 0.9131 MB / 1.177 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.8031, allocations: 143.6 kB / 1.177 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.288e-05/0.8031, allocations: 27.98 kB / 1.177 GB, free: 9.508 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0002355/0.8034, allocations: 220.6 kB / 1.177 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002551/0.8036, allocations: 110.6 kB / 1.177 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003158/0.8068, allocations: 1.015 MB / 1.178 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.8068, allocations: 4 kB / 1.178 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.8069, allocations: 0 / 1.178 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.8069, allocations: 15.92 kB / 1.178 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005165/0.812, allocations: 2.079 MB / 1.18 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.8121, allocations: 4 kB / 1.18 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.8123, allocations: 48.2 kB / 1.18 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.8133, allocations: 300.6 kB / 1.18 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.8134, allocations: 19.98 kB / 1.18 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.8149, allocations: 0.9362 MB / 1.181 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.8149, allocations: 8.016 kB / 1.181 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003373/0.8183, allocations: 1.109 MB / 1.182 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004859/0.8188, allocations: 255.6 kB / 1.183 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.819, allocations: 15.98 kB / 1.183 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00092/0.8199, allocations: 99.62 kB / 1.183 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-05/0.82, allocations: 35.89 kB / 1.183 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.344e-05/0.8201, allocations: 31.92 kB / 1.183 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001241/0.8214, allocations: 0.7352 MB / 1.184 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8214, allocations: 0 / 1.184 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001645/0.823, allocations: 0.5614 MB / 1.184 GB, free: 1.715 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 (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.0009631/0.824, allocations: 403.5 kB / 1.184 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00286/0.8269, allocations: 1.003 MB / 1.185 GB, free: 328 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.8269, allocations: 0 / 1.185 GB, free: 328 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007927/0.8277, allocations: 314.8 kB / 1.186 GB, free: 12 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/0.8302, allocations: 0.5014 MB / 1.186 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004518/0.8347, allocations: 2.225 MB / 1.188 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009554/0.8357, allocations: 1.061 MB / 1.189 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001234/0.837, allocations: 215.4 kB / 1.19 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.8372, allocations: 71.42 kB / 1.19 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of SimCode: time 7.32e-07/0.8372, allocations: 0 / 1.19 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of Templates: time 0.04268/0.8799, allocations: 23.92 MB / 1.213 GB, free: 4.219 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)