Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001462/0.001462, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.554/1.554, allocations: 251.9 MB / 0.51 GB, free: 4.832 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005832/0.0005833, allocations: 23.98 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.519/0.5196, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05275/0.5724, allocations: 51.35 MB / 0.7781 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01616/0.5886, allocations: 10.22 MB / 0.7881 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002611/0.5913, allocations: 47.69 kB / 0.7881 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002813/0.5941, allocations: 0.6296 MB / 0.7888 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008067/0.6022, allocations: 1.895 MB / 0.7906 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004592/0.6068, allocations: 1.232 MB / 0.7918 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004837/0.6117, allocations: 1.843 MB / 0.7936 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002381/0.6141, allocations: 0.8135 MB / 0.7944 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003292/0.6174, allocations: 0.9808 MB / 0.7954 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001896/0.6193, allocations: 0.6066 MB / 0.796 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004575/0.6198, allocations: 44 kB / 0.796 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003707/0.6236, allocations: 0.9985 MB / 0.797 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005117/0.6241, allocations: 203.1 kB / 0.7972 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008394/0.6249, allocations: 281 kB / 0.7974 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003389/0.6284, allocations: 1.586 MB / 0.799 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6284, allocations: 0 / 0.799 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.555e-06/0.6284, allocations: 0 / 0.799 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.796e-05/0.6285, allocations: 4 kB / 0.799 GB, free: 2.531 MB / 0.6075 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.004166/0.6327, allocations: 1.5 MB / 0.8004 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.6327, allocations: 8.031 kB / 0.8005 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001991/0.6347, allocations: 386 kB / 0.8008 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003023/0.6378, allocations: 1.051 MB / 0.8018 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004062/0.6382, allocations: 121.9 kB / 0.802 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002771/0.6385, allocations: 84 kB / 0.802 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/0.6411, allocations: 0.9566 MB / 0.803 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.6411, allocations: 0 / 0.803 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.6413, allocations: 36 kB / 0.803 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/0.6413, allocations: 19.98 kB / 0.803 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002342/0.6436, allocations: 0.8665 MB / 0.8039 GB, free: 13.36 MB / 0.6231 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.008385/0.652, allocations: 4.573 MB / 0.8083 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.6539, allocations: 0.6415 MB / 0.809 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001517/0.6555, allocations: 1.389 MB / 0.8103 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.6555, allocations: 39 kB / 0.8104 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.855e-06/0.6556, allocations: 4 kB / 0.8104 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=47): time 0.008051/0.6636, allocations: 1.893 MB / 0.8122 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.688e-05/0.6638, allocations: 59.83 kB / 0.8123 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/0.6659, allocations: 1.067 MB / 0.8133 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001422/0.6661, allocations: 41.64 kB / 0.8134 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006065/0.6667, allocations: 0.5119 MB / 0.8139 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.6669, allocations: 169.6 kB / 0.814 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.07e-05/0.667, allocations: 8 kB / 0.814 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.6672, allocations: 333.9 kB / 0.8143 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008473/0.668, allocations: 292.9 kB / 0.8146 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.6691, allocations: 0.4884 MB / 0.8151 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008974/0.67, allocations: 340.6 kB / 0.8154 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.67, allocations: 0 / 0.8154 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003802/0.6738, allocations: 1.175 MB / 0.8166 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008515/0.6747, allocations: 1.411 MB / 0.8179 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.6747, allocations: 4 kB / 0.818 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/0.6761, allocations: 328.5 kB / 0.8183 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/0.6767, allocations: 119.8 kB / 0.8184 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/0.6785, allocations: 0.9426 MB / 0.8193 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.68, allocations: 191 kB / 0.8195 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.6801, allocations: 27.98 kB / 0.8195 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.6801, allocations: 4 kB / 0.8195 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003346/0.6835, allocations: 1.026 MB / 0.8205 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.6835, allocations: 4 kB / 0.8205 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.6848, allocations: 328.9 kB / 0.8208 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005151/0.6853, allocations: 123.8 kB / 0.821 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.6868, allocations: 0.9333 MB / 0.8219 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.6881, allocations: 163.3 kB / 0.822 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-05/0.6882, allocations: 27.98 kB / 0.822 GB, free: 9.805 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.000635/0.6888, allocations: 353 kB / 0.8224 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/0.6891, allocations: 106.7 kB / 0.8225 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003905/0.693, allocations: 1.197 MB / 0.8237 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.6931, allocations: 8 kB / 0.8237 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.6931, allocations: 0 / 0.8237 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.6931, allocations: 7.922 kB / 0.8237 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005789/0.6989, allocations: 2.228 MB / 0.8258 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/0.699, allocations: 7.938 kB / 0.8258 GB, free: 5.805 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.6993, allocations: 63.91 kB / 0.8259 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/0.7004, allocations: 328.5 kB / 0.8262 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.301e-05/0.7005, allocations: 19.98 kB / 0.8262 GB, free: 5.398 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/0.7021, allocations: 0.9838 MB / 0.8272 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.7021, allocations: 0 / 0.8272 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003808/0.7059, allocations: 1.35 MB / 0.8285 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009008/0.7069, allocations: 287.4 kB / 0.8288 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002932/0.7072, allocations: 16 kB / 0.8288 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.7083, allocations: 99.84 kB / 0.8289 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.7084, allocations: 39.94 kB / 0.8289 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.862e-05/0.7085, allocations: 23.98 kB / 0.829 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001552/0.71, allocations: 0.7547 MB / 0.8297 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7101, allocations: 0 / 0.8297 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002061/0.7121, allocations: 0.5692 MB / 0.8303 GB, free: 1.141 MB / 0.6387 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 (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009611/0.7131, allocations: 388.6 kB / 0.8306 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00328/0.7164, allocations: 1.093 MB / 0.8317 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.7164, allocations: 0 / 0.8317 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009426/0.7174, allocations: 361.7 kB / 0.832 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/0.7202, allocations: 0.5103 MB / 0.8325 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004726/0.725, allocations: 2.219 MB / 0.8347 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008267/0.7259, allocations: 1.093 MB / 0.8358 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001244/0.7271, allocations: 229.8 kB / 0.836 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/0.7274, allocations: 79.42 kB / 0.8361 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of SimCode: time 7.71e-07/0.7274, allocations: 4 kB / 0.8361 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of Templates: time 0.04267/0.7701, allocations: 24.03 MB / 0.8595 GB, free: 3.387 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) Environment - environmentSimulation: