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.0008431/0.000843, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0009563/0.000956, allocations: 172.7 kB / 15.95 MB, free: 208 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.627/1.627, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.745/1.745, allocations: 252 MB / 0.5102 GB, free: 4.738 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.0005271/0.0005274, allocations: 12 kB / 0.6243 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6284/0.629, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05761/0.6867, allocations: 56.52 MB / 0.7833 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0175/0.7042, allocations: 11.09 MB / 0.7941 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002436/0.7067, allocations: 51.62 kB / 0.7942 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.7084, allocations: 460.9 kB / 0.7946 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005254/0.7137, allocations: 1.531 MB / 0.7961 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002996/0.7167, allocations: 0.8731 MB / 0.797 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005129/0.7218, allocations: 3.383 MB / 0.8003 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.7233, allocations: 0.782 MB / 0.801 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002522/0.7259, allocations: 1.042 MB / 0.8021 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.7272, allocations: 0.8088 MB / 0.8028 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.7274, allocations: 40 kB / 0.8029 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002604/0.73, allocations: 1.099 MB / 0.804 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002804/0.7303, allocations: 195 kB / 0.8041 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004297/0.7307, allocations: 285 kB / 0.8044 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002166/0.7329, allocations: 1.629 MB / 0.806 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.7329, allocations: 0 / 0.806 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7329, allocations: 7.938 kB / 0.806 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.616e-05/0.7329, allocations: 0 / 0.806 GB, free: 11.41 MB / 0.6231 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.002892/0.7358, allocations: 1.508 MB / 0.8075 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.7359, allocations: 8.031 kB / 0.8075 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001938/0.7378, allocations: 473.9 kB / 0.8079 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/0.7401, allocations: 1.09 MB / 0.809 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003153/0.7404, allocations: 133.9 kB / 0.8091 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.7405, allocations: 80 kB / 0.8092 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.7427, allocations: 0.9956 MB / 0.8102 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.7428, allocations: 3.938 kB / 0.8102 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.688e-05/0.7428, allocations: 32 kB / 0.8102 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.7429, allocations: 20 kB / 0.8102 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002229/0.7451, allocations: 0.925 MB / 0.8111 GB, free: 5.996 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.006775/0.7519, allocations: 4.628 MB / 0.8157 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/0.7551, allocations: 0.9422 MB / 0.8166 GB, free: 104 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007549/0.7559, allocations: 338 kB / 0.8169 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007234/0.7566, allocations: 0.9029 MB / 0.8178 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.7567, allocations: 43 kB / 0.8178 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 3.216e-06/0.7567, allocations: 0 / 0.8178 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=47): time 0.006707/0.7634, allocations: 1.986 MB / 0.8198 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.7635, allocations: 59.84 kB / 0.8198 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.765, allocations: 1.052 MB / 0.8209 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-05/0.7651, allocations: 33.7 kB / 0.8209 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004332/0.7656, allocations: 0.5275 MB / 0.8214 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.7657, allocations: 165.7 kB / 0.8216 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.7658, allocations: 12 kB / 0.8216 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.7659, allocations: 322 kB / 0.8219 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008446/0.7667, allocations: 332.9 kB / 0.8222 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.7678, allocations: 0.5313 MB / 0.8227 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008714/0.7686, allocations: 356.6 kB / 0.8231 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.7687, allocations: 0 / 0.8231 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003394/0.7721, allocations: 1.241 MB / 0.8243 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001592/0.7722, allocations: 203.4 kB / 0.8245 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.7723, allocations: 4 kB / 0.8245 GB, free: 7.602 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.7734, allocations: 340.5 kB / 0.8248 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/0.774, allocations: 131.8 kB / 0.8249 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.7754, allocations: 0.9386 MB / 0.8258 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.7767, allocations: 195.2 kB / 0.826 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.185e-05/0.7767, allocations: 31.98 kB / 0.826 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.7768, allocations: 4 kB / 0.826 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003034/0.7798, allocations: 1.088 MB / 0.8271 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.7798, allocations: 4 kB / 0.8271 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009673/0.7808, allocations: 327.9 kB / 0.8274 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005178/0.7813, allocations: 135.8 kB / 0.8276 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.7826, allocations: 0.9309 MB / 0.8285 GB, free: 3.438 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.7838, allocations: 170.6 kB / 0.8286 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.999e-05/0.7839, allocations: 35.98 kB / 0.8287 GB, free: 3.238 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.0005937/0.7845, allocations: 356 kB / 0.829 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.7847, allocations: 114.6 kB / 0.8291 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/0.787, allocations: 1.034 MB / 0.8301 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.7871, allocations: 8 kB / 0.8301 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.7871, allocations: 0 / 0.8301 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.7871, allocations: 7.984 kB / 0.8301 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00563/0.7927, allocations: 2.477 MB / 0.8326 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.393e-06/0.7928, allocations: 0 / 0.8326 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.7931, allocations: 76.17 kB / 0.8326 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009103/0.794, allocations: 316.6 kB / 0.8329 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.146e-05/0.794, allocations: 19.98 kB / 0.833 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/0.7955, allocations: 0.9719 MB / 0.8339 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.7955, allocations: 0 / 0.8339 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00327/0.7988, allocations: 1.297 MB / 0.8352 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005225/0.7993, allocations: 283.4 kB / 0.8354 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/0.7995, allocations: 19.98 kB / 0.8355 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008752/0.8004, allocations: 115.7 kB / 0.8356 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.642e-05/0.8005, allocations: 35.95 kB / 0.8356 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.706e-05/0.8006, allocations: 23.98 kB / 0.8356 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001242/0.8018, allocations: 0.7313 MB / 0.8363 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.12e-07/0.8018, allocations: 4 kB / 0.8363 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001732/0.8036, allocations: 0.5575 MB / 0.8369 GB, free: 10.61 MB / 0.6544 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.0008171/0.8044, allocations: 351.3 kB / 0.8372 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003183/0.8076, allocations: 1.214 MB / 0.8384 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.8076, allocations: 4 kB / 0.8384 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009113/0.8085, allocations: 391 kB / 0.8388 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/0.811, allocations: 0.5223 MB / 0.8393 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005594/0.8166, allocations: 2.508 MB / 0.8417 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007721/0.8174, allocations: 1.066 MB / 0.8428 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001104/0.8185, allocations: 228.8 kB / 0.843 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.8187, allocations: 83.36 kB / 0.8431 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of SimCode: time 7.01e-07/0.8187, allocations: 0 / 0.8431 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of Templates: time 0.03938/0.8581, allocations: 23.44 MB / 0.866 GB, free: 13.04 MB / 0.6856 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: