Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 99.7 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.001147/0.001148, 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.764/1.764, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.678/1.678, allocations: 251.9 MB / 0.51 GB, free: 4.93 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.0005512/0.0005514, allocations: 19.44 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6576/0.6581, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05409/0.7123, allocations: 51.32 MB / 0.7781 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01682/0.7292, allocations: 10.21 MB / 0.788 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002665/0.7319, allocations: 47.69 kB / 0.7881 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002586/0.7345, allocations: 0.6219 MB / 0.7887 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009172/0.7437, allocations: 1.907 MB / 0.7906 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005487/0.7492, allocations: 1.244 MB / 0.7918 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005575/0.7548, allocations: 1.838 MB / 0.7936 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001991/0.7568, allocations: 0.8018 MB / 0.7944 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00271/0.7595, allocations: 0.977 MB / 0.7953 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.7606, allocations: 0.6066 MB / 0.7959 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.7607, allocations: 48 kB / 0.796 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002723/0.7634, allocations: 0.979 MB / 0.7969 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.7637, allocations: 207 kB / 0.7971 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003882/0.7641, allocations: 285 kB / 0.7974 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002087/0.7662, allocations: 1.578 MB / 0.7989 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.7662, allocations: 0 / 0.7989 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.245e-06/0.7662, allocations: 0 / 0.7989 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.746e-05/0.7662, allocations: 0 / 0.7989 GB, free: 2.59 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.003049/0.7693, allocations: 1.493 MB / 0.8004 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.7693, allocations: 8.031 kB / 0.8004 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002128/0.7715, allocations: 477.9 kB / 0.8008 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.7735, allocations: 1.047 MB / 0.8019 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003449/0.7738, allocations: 133.9 kB / 0.802 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.774, allocations: 84 kB / 0.8021 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.776, allocations: 0.9917 MB / 0.803 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.776, allocations: 0 / 0.803 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.349e-05/0.7761, allocations: 32 kB / 0.8031 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.7762, allocations: 20 kB / 0.8031 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/0.7784, allocations: 0.9211 MB / 0.804 GB, free: 13.24 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.006386/0.7848, allocations: 4.664 MB / 0.8085 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003614/0.7885, allocations: 0.9306 MB / 0.8094 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007637/0.7892, allocations: 0.9068 MB / 0.8103 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.7893, allocations: 46.88 kB / 0.8104 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 7.004e-06/0.7893, allocations: 3.984 kB / 0.8104 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of matching and sorting (n=47): time 0.007432/0.7967, allocations: 1.991 MB / 0.8123 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.7968, allocations: 63.83 kB / 0.8124 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.7984, allocations: 1.067 MB / 0.8134 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.22e-05/0.7984, allocations: 37.7 kB / 0.8135 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004649/0.7989, allocations: 0.5236 MB / 0.814 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.7991, allocations: 157.6 kB / 0.8141 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.7991, allocations: 15.94 kB / 0.8141 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.7993, allocations: 326 kB / 0.8145 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008983/0.8002, allocations: 328.9 kB / 0.8148 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.8012, allocations: 0.5274 MB / 0.8153 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009295/0.8022, allocations: 368.6 kB / 0.8156 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.8022, allocations: 4 kB / 0.8156 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00366/0.8058, allocations: 1.229 MB / 0.8168 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006657/0.8065, allocations: 1.495 MB / 0.8183 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.8066, allocations: 4 kB / 0.8183 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.8078, allocations: 324.6 kB / 0.8186 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/0.8084, allocations: 139.8 kB / 0.8187 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.81, allocations: 0.9497 MB / 0.8197 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.8114, allocations: 187.3 kB / 0.8199 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.858e-05/0.8115, allocations: 27.98 kB / 0.8199 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.8115, allocations: 4 kB / 0.8199 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003507/0.8151, allocations: 1.088 MB / 0.8209 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.8151, allocations: 11.89 kB / 0.821 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.8162, allocations: 324.9 kB / 0.8213 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005447/0.8168, allocations: 139.8 kB / 0.8214 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.8182, allocations: 0.9309 MB / 0.8223 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.8195, allocations: 171.3 kB / 0.8225 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/0.8196, allocations: 27.98 kB / 0.8225 GB, free: 9.414 MB / 0.6387 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 (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.0006152/0.8202, allocations: 360.9 kB / 0.8228 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.8204, allocations: 110.6 kB / 0.8229 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/0.8228, allocations: 1.034 MB / 0.824 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.8229, allocations: 7.953 kB / 0.824 GB, free: 7.891 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.8229, allocations: 4 kB / 0.824 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.8229, allocations: 3.984 kB / 0.824 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006432/0.8293, allocations: 2.485 MB / 0.8264 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.8294, allocations: 0 / 0.8264 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.8297, allocations: 76.16 kB / 0.8265 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/0.8308, allocations: 323.1 kB / 0.8268 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/0.8308, allocations: 19.98 kB / 0.8268 GB, free: 4.902 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.8324, allocations: 0.9775 MB / 0.8278 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.8324, allocations: 3.953 kB / 0.8278 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003794/0.8362, allocations: 1.404 MB / 0.8291 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007435/0.837, allocations: 287.5 kB / 0.8294 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.8371, allocations: 12 kB / 0.8294 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008915/0.838, allocations: 115.8 kB / 0.8295 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-05/0.8381, allocations: 39.84 kB / 0.8296 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.174e-05/0.8382, allocations: 23.98 kB / 0.8296 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001374/0.8395, allocations: 0.7508 MB / 0.8303 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8396, allocations: 0 / 0.8303 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001731/0.8413, allocations: 0.5575 MB / 0.8309 GB, free: 0.5938 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 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.001004/0.8423, allocations: 377.2 kB / 0.8312 GB, free: 224 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003605/0.8459, allocations: 1.206 MB / 0.8324 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.8459, allocations: 0 / 0.8324 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009758/0.8469, allocations: 391 kB / 0.8328 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002765/0.8497, allocations: 0.5183 MB / 0.8333 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006105/0.8558, allocations: 2.5 MB / 0.8357 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008231/0.8567, allocations: 1.089 MB / 0.8368 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001261/0.8579, allocations: 232.7 kB / 0.837 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.8581, allocations: 83.42 kB / 0.8371 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of SimCode: time 1.292e-06/0.8582, allocations: 0 / 0.8371 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.04208/0.9002, allocations: 23.74 MB / 0.8603 GB, free: 2.695 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) Environment - environmentSimulation: