Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 98.58 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 185 kB / 16.92 MB, free: 6.773 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.524/1.524, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8331/0.8331, allocations: 126.9 MB / 418.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003455, allocations: 8 kB / 0.498 GB, free: 9.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4375, allocations: 80.24 MB / 0.5763 GB, free: 7.859 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.0788/0.5164, allocations: 73.52 MB / 0.6481 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02088/0.5373, allocations: 12.68 MB / 0.6605 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003693/0.541, allocations: 59.62 kB / 0.6606 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002662/0.5437, allocations: 0.6682 MB / 0.6612 GB, free: 316 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007925/0.5517, allocations: 2.267 MB / 0.6634 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003832/0.5555, allocations: 1.267 MB / 0.6647 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008691/0.5642, allocations: 5.453 MB / 0.67 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00245/0.5667, allocations: 1.145 MB / 0.6711 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00478/0.5715, allocations: 1.509 MB / 0.6726 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002245/0.5738, allocations: 1.108 MB / 0.6737 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002039/0.574, allocations: 56 kB / 0.6737 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003147/0.5772, allocations: 1.236 MB / 0.6749 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004139/0.5776, allocations: 282.6 kB / 0.6752 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.5788, allocations: 0.7983 MB / 0.676 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004247/0.583, allocations: 2.722 MB / 0.6786 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.5831, allocations: 4 kB / 0.6786 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5831, allocations: 0 / 0.6786 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.993e-05/0.5831, allocations: 0 / 0.6786 GB, free: 14.39 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003749/0.5869, allocations: 1.776 MB / 0.6804 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.5869, allocations: 8.031 kB / 0.6804 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008185/0.5877, allocations: 242.9 kB / 0.6806 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002624/0.5904, allocations: 1.497 MB / 0.6821 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.517e-05/0.5905, allocations: 81.94 kB / 0.6822 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.5906, allocations: 103.9 kB / 0.6823 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/0.5929, allocations: 1.12 MB / 0.6833 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.5929, allocations: 4 kB / 0.6834 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.593, allocations: 39.98 kB / 0.6834 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/0.5931, allocations: 27.98 kB / 0.6834 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002169/0.5953, allocations: 0.929 MB / 0.6843 GB, free: 8.414 MB / 0.5137 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.006814/0.6021, allocations: 4.919 MB / 0.6891 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.6037, allocations: 0.6322 MB / 0.6897 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008332/0.6045, allocations: 378.8 kB / 0.6901 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000829/0.6054, allocations: 0.8277 MB / 0.6909 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.6054, allocations: 43.12 kB / 0.691 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 4.95e-06/0.6055, allocations: 0 / 0.691 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.008069/0.6135, allocations: 1.881 MB / 0.6928 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.6136, allocations: 59.97 kB / 0.6928 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/0.6155, allocations: 1.214 MB / 0.694 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.6156, allocations: 37.7 kB / 0.6941 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000648/0.6162, allocations: 0.6026 MB / 0.6947 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/0.6165, allocations: 208.9 kB / 0.6949 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.6166, allocations: 65.69 kB / 0.6949 GB, free: 13 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002356/0.6169, allocations: 333.9 kB / 0.6952 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007764/0.6176, allocations: 305.8 kB / 0.6955 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000956/0.6186, allocations: 0.5115 MB / 0.696 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/0.6202, allocations: 0.7519 MB / 0.6968 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.6203, allocations: 0 / 0.6968 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005374/0.6256, allocations: 1.398 MB / 0.6981 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001803/0.6258, allocations: 208.1 kB / 0.6983 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.6259, allocations: 4 kB / 0.6983 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006678/0.6265, allocations: 144.7 kB / 0.6985 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006552/0.6272, allocations: 163.8 kB / 0.6986 GB, free: 9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009683/0.6282, allocations: 0.7239 MB / 0.6993 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.6294, allocations: 165.2 kB / 0.6995 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.202e-05/0.6295, allocations: 35.98 kB / 0.6995 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/0.6295, allocations: 4 kB / 0.6995 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004894/0.6344, allocations: 1.245 MB / 0.7007 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.6344, allocations: 7.938 kB / 0.7008 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005607/0.635, allocations: 145.1 kB / 0.7009 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006519/0.6357, allocations: 163.8 kB / 0.701 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009576/0.6366, allocations: 0.72 MB / 0.7017 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.6379, allocations: 155.2 kB / 0.7019 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.884e-05/0.638, allocations: 39.97 kB / 0.7019 GB, free: 5.551 MB / 0.5294 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0007055/0.6387, allocations: 416.9 kB / 0.7023 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/0.6389, allocations: 138.3 kB / 0.7025 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00529/0.6442, allocations: 1.392 MB / 0.7038 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.6442, allocations: 11.94 kB / 0.7038 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.6442, allocations: 0 / 0.7038 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004845/0.6491, allocations: 1.236 MB / 0.705 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007751/0.6568, allocations: 2.738 MB / 0.7077 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.6569, allocations: 4 kB / 0.7077 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005513/0.6574, allocations: 124.2 kB / 0.7078 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005593/0.658, allocations: 140.7 kB / 0.708 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.948e-05/0.6581, allocations: 23.92 kB / 0.708 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005543/0.6636, allocations: 2.423 MB / 0.7104 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/0.6637, allocations: 12 kB / 0.7104 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00629/0.67, allocations: 1.848 MB / 0.7122 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009045/0.6709, allocations: 335.1 kB / 0.7125 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004341/0.6713, allocations: 24.05 kB / 0.7125 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/0.6727, allocations: 91.75 kB / 0.7126 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.6729, allocations: 60.25 kB / 0.7127 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/0.673, allocations: 31.98 kB / 0.7127 GB, free: 10.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001733/0.6748, allocations: 0.8699 MB / 0.7135 GB, free: 9.238 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6748, allocations: 0 / 0.7135 GB, free: 9.238 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002571/0.6774, allocations: 0.7096 MB / 0.7142 GB, free: 8.527 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00121/0.6786, allocations: 452.1 kB / 0.7147 GB, free: 8.086 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003131/0.6817, allocations: 1.172 MB / 0.7158 GB, free: 6.922 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.6818, allocations: 4 kB / 0.7158 GB, free: 6.918 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001755/0.6835, allocations: 0.5994 MB / 0.7164 GB, free: 6.309 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004904/0.6884, allocations: 0.7875 MB / 0.7172 GB, free: 5.531 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004923/0.6934, allocations: 2.809 MB / 0.7199 GB, free: 2.648 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/0.6945, allocations: 1.177 MB / 0.7211 GB, free: 1.441 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001396/0.6959, allocations: 299 kB / 0.7214 GB, free: 1.145 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003346/0.6963, allocations: 115.3 kB / 0.7215 GB, free: 1.031 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.6963, allocations: 0 / 0.7215 GB, free: 1.031 MB / 0.545 GB Notification: Performance of Templates: time 0.06198/0.7583, allocations: 31.83 MB / 0.7525 GB, free: 1.555 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)