Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001092/0.001091, 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.001207/0.001207, 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.718/1.718, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.623/1.623, allocations: 251.9 MB / 0.51 GB, free: 4.852 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.0005032/0.0005032, allocations: 19.75 kB / 0.6241 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.636/0.6365, allocations: 106.3 MB / 0.728 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.06356/0.7001, allocations: 62.95 MB / 0.7894 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01815/0.7183, allocations: 10.86 MB / 0.8001 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004042/0.7225, allocations: 51.62 kB / 0.8001 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002919/0.7254, allocations: 0.7423 MB / 0.8008 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00845/0.7339, allocations: 2.254 MB / 0.803 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005114/0.739, allocations: 1.425 MB / 0.8044 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00624/0.7453, allocations: 2.481 MB / 0.8068 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00246/0.7478, allocations: 1.017 MB / 0.8078 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003193/0.751, allocations: 1.156 MB / 0.809 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.7528, allocations: 0.7738 MB / 0.8097 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002147/0.753, allocations: 55.94 kB / 0.8098 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00426/0.7573, allocations: 0.827 MB / 0.8106 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003539/0.7576, allocations: 262.9 kB / 0.8108 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006846/0.7583, allocations: 352.9 kB / 0.8112 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003083/0.7614, allocations: 2.003 MB / 0.8131 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7614, allocations: 0 / 0.8131 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.975e-06/0.7614, allocations: 0 / 0.8131 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.166e-05/0.7615, allocations: 4 kB / 0.8131 GB, free: 4.195 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003853/0.7653, allocations: 1.775 MB / 0.8149 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.7654, allocations: 12.03 kB / 0.8149 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007631/0.7662, allocations: 234 kB / 0.8151 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/0.7685, allocations: 1.361 MB / 0.8164 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.045e-05/0.7686, allocations: 78 kB / 0.8165 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.7688, allocations: 100 kB / 0.8166 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.7708, allocations: 1.1 MB / 0.8177 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.7708, allocations: 0 / 0.8177 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.019e-05/0.7709, allocations: 40 kB / 0.8177 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.216e-05/0.771, allocations: 24 kB / 0.8177 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.7728, allocations: 0.9212 MB / 0.8186 GB, free: 14.4 MB / 0.6387 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.00633/0.7792, allocations: 4.958 MB / 0.8235 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.7806, allocations: 0.639 MB / 0.8241 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008552/0.7815, allocations: 0.8238 MB / 0.8249 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/0.7816, allocations: 39.06 kB / 0.8249 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=61): time 3.667e-06/0.7816, allocations: 0 / 0.8249 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of matching and sorting (n=61): time 0.007365/0.7889, allocations: 1.87 MB / 0.8268 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.729e-05/0.7891, allocations: 63.91 kB / 0.8268 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/0.7912, allocations: 1.245 MB / 0.828 GB, free: 4.223 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.7913, allocations: 45.7 kB / 0.8281 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006001/0.7919, allocations: 0.5986 MB / 0.8287 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000273/0.7922, allocations: 212.9 kB / 0.8289 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.7923, allocations: 16 kB / 0.8289 GB, free: 3.34 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.7925, allocations: 337.9 kB / 0.8292 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007177/0.7932, allocations: 293.8 kB / 0.8295 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008488/0.7941, allocations: 0.4959 MB / 0.83 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007633/0.7948, allocations: 370.9 kB / 0.8303 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.7948, allocations: 4 kB / 0.8303 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004607/0.7995, allocations: 1.394 MB / 0.8317 GB, free: 376 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006225/0.8001, allocations: 1.426 MB / 0.8331 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.8001, allocations: 4 kB / 0.8331 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006565/0.8008, allocations: 148.6 kB / 0.8332 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006676/0.8015, allocations: 167.8 kB / 0.8334 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009364/0.8024, allocations: 0.7006 MB / 0.8341 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.8039, allocations: 175.1 kB / 0.8342 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.821e-05/0.8039, allocations: 28 kB / 0.8343 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.804, allocations: 4 kB / 0.8343 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004249/0.8082, allocations: 1.253 MB / 0.8355 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.8082, allocations: 4 kB / 0.8355 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004736/0.8087, allocations: 145 kB / 0.8356 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006257/0.8094, allocations: 163.8 kB / 0.8358 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008207/0.8102, allocations: 0.7045 MB / 0.8365 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.8115, allocations: 171.2 kB / 0.8366 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.247e-05/0.8116, allocations: 24 kB / 0.8367 GB, free: 11.11 MB / 0.6544 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 (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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008041/0.8124, allocations: 428.8 kB / 0.8371 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/0.8126, allocations: 138.3 kB / 0.8372 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004539/0.8171, allocations: 1.396 MB / 0.8386 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.8172, allocations: 7.938 kB / 0.8386 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.8172, allocations: 0 / 0.8386 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004047/0.8212, allocations: 1.232 MB / 0.8398 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006837/0.8281, allocations: 2.754 MB / 0.8425 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.8281, allocations: 4 kB / 0.8425 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/0.8286, allocations: 119.9 kB / 0.8426 GB, free: 4.871 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005223/0.8291, allocations: 145 kB / 0.8427 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/0.8292, allocations: 19.98 kB / 0.8427 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004918/0.8341, allocations: 2.506 MB / 0.8452 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.8341, allocations: 7.938 kB / 0.8452 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005606/0.8398, allocations: 2.049 MB / 0.8472 GB, free: 15.78 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.8408, allocations: 343.1 kB / 0.8475 GB, free: 15.43 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.841, allocations: 23.94 kB / 0.8476 GB, free: 15.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000924/0.8419, allocations: 91.97 kB / 0.8476 GB, free: 15.31 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.8421, allocations: 64.25 kB / 0.8477 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.286e-05/0.8421, allocations: 27.98 kB / 0.8477 GB, free: 15.22 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001528/0.8437, allocations: 0.8893 MB / 0.8486 GB, free: 14.33 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8437, allocations: 0 / 0.8486 GB, free: 14.33 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00217/0.8459, allocations: 0.7252 MB / 0.8493 GB, free: 13.61 MB / 0.67 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 (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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009102/0.8468, allocations: 441.4 kB / 0.8497 GB, free: 13.17 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002601/0.8494, allocations: 1.164 MB / 0.8509 GB, free: 12.01 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.8494, allocations: 0 / 0.8509 GB, free: 12.01 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.8509, allocations: 0.5955 MB / 0.8514 GB, free: 11.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003347/0.8543, allocations: 0.7495 MB / 0.8522 GB, free: 10.66 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/0.8586, allocations: 2.754 MB / 0.8549 GB, free: 7.836 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000763/0.8594, allocations: 1.199 MB / 0.856 GB, free: 6.609 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001269/0.8607, allocations: 310.9 kB / 0.8563 GB, free: 6.301 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.8609, allocations: 103.4 kB / 0.8564 GB, free: 6.199 MB / 0.67 GB Notification: Performance of SimCode: time 6.71e-07/0.8609, allocations: 0 / 0.8564 GB, free: 6.199 MB / 0.67 GB Notification: Performance of Templates: time 0.05442/0.9154, allocations: 30.07 MB / 0.8858 GB, free: 8.516 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: