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.0009073/0.0009072, allocations: 93.03 kB / 16.66 MB, free: 5.742 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.000976/0.0009761, allocations: 183.5 kB / 17.58 MB, free: 5.477 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.358/1.358, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7246/0.7246, allocations: 115.5 MB / 408.2 MB, free: 7.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003677, allocations: 8 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.4363, allocations: 77.52 MB / 0.5606 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.06831/0.5047, allocations: 73.39 MB / 0.6322 GB, free: 9.875 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0182/0.5229, allocations: 12.68 MB / 0.6446 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002799/0.5258, allocations: 59.62 kB / 0.6447 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002334/0.5281, allocations: 0.6721 MB / 0.6453 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006772/0.5349, allocations: 2.274 MB / 0.6476 GB, free: 10.15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003406/0.5383, allocations: 1.262 MB / 0.6488 GB, free: 8.902 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006686/0.545, allocations: 5.547 MB / 0.6542 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/0.5469, allocations: 1.153 MB / 0.6553 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003033/0.5499, allocations: 1.314 MB / 0.6566 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001786/0.5517, allocations: 1.128 MB / 0.6577 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001768/0.5519, allocations: 60 kB / 0.6578 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00287/0.5548, allocations: 1.236 MB / 0.659 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003565/0.5552, allocations: 282.6 kB / 0.6592 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009687/0.5561, allocations: 0.8022 MB / 0.66 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002863/0.559, allocations: 2.151 MB / 0.6621 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.559, allocations: 4 kB / 0.6621 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.645e-06/0.559, allocations: 0 / 0.6621 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.93e-05/0.5591, allocations: 0 / 0.6621 GB, free: 11.15 MB / 0.4981 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.003519/0.5626, allocations: 1.787 MB / 0.6639 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.5627, allocations: 11.97 kB / 0.6639 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008109/0.5635, allocations: 242.8 kB / 0.6641 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/0.5658, allocations: 1.493 MB / 0.6656 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.887e-05/0.5659, allocations: 78 kB / 0.6657 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.5661, allocations: 99.98 kB / 0.6657 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.5681, allocations: 1.127 MB / 0.6668 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.5681, allocations: 0 / 0.6668 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-05/0.5682, allocations: 40 kB / 0.6669 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.48e-05/0.5683, allocations: 27.98 kB / 0.6669 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.5702, allocations: 0.929 MB / 0.6678 GB, free: 5.172 MB / 0.4981 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.005835/0.5761, allocations: 4.917 MB / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.5775, allocations: 0.6416 MB / 0.6732 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007432/0.5782, allocations: 374.3 kB / 0.6736 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006451/0.5789, allocations: 0.8316 MB / 0.6744 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.5789, allocations: 39.12 kB / 0.6745 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.705e-06/0.579, allocations: 0 / 0.6745 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007692/0.5867, allocations: 1.888 MB / 0.6763 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.5867, allocations: 67.89 kB / 0.6764 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.5883, allocations: 1.202 MB / 0.6775 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.896e-05/0.5884, allocations: 45.7 kB / 0.6776 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004851/0.5889, allocations: 0.5987 MB / 0.6782 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.5891, allocations: 220.8 kB / 0.6784 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.322e-05/0.5892, allocations: 61.67 kB / 0.6784 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.5893, allocations: 338 kB / 0.6788 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007177/0.59, allocations: 301.8 kB / 0.679 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008407/0.5909, allocations: 0.4998 MB / 0.6795 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.5923, allocations: 0.7518 MB / 0.6803 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.5924, allocations: 4 kB / 0.6803 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005149/0.5975, allocations: 1.406 MB / 0.6816 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.5977, allocations: 200 kB / 0.6818 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.5977, allocations: 4 kB / 0.6818 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006039/0.5983, allocations: 140.7 kB / 0.682 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006336/0.5989, allocations: 175.7 kB / 0.6821 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008371/0.5998, allocations: 0.7122 MB / 0.6828 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.6009, allocations: 167.1 kB / 0.683 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.515e-05/0.601, allocations: 35.98 kB / 0.683 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/0.601, allocations: 4 kB / 0.683 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00472/0.6058, allocations: 1.25 MB / 0.6843 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.6058, allocations: 4 kB / 0.6843 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005041/0.6063, allocations: 140.9 kB / 0.6844 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005961/0.6069, allocations: 175.7 kB / 0.6846 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007822/0.6077, allocations: 0.7045 MB / 0.6852 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.6088, allocations: 155.2 kB / 0.6854 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/0.6089, allocations: 35.98 kB / 0.6854 GB, free: 2.316 MB / 0.5137 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.0006512/0.6095, allocations: 413.8 kB / 0.6858 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.6097, allocations: 134.3 kB / 0.686 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004928/0.6147, allocations: 1.404 MB / 0.6873 GB, free: 360 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.6147, allocations: 11.94 kB / 0.6873 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/0.6147, allocations: 7.938 kB / 0.6873 GB, free: 340 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004526/0.6193, allocations: 1.232 MB / 0.6885 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006768/0.626, allocations: 2.739 MB / 0.6912 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.6261, allocations: 8.062 kB / 0.6912 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004896/0.6266, allocations: 115.9 kB / 0.6913 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005113/0.6271, allocations: 144.7 kB / 0.6915 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.455e-05/0.6271, allocations: 16 kB / 0.6915 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004794/0.6319, allocations: 2.435 MB / 0.6939 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.632, allocations: 4 kB / 0.6939 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005685/0.6376, allocations: 1.852 MB / 0.6957 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006369/0.6383, allocations: 327.1 kB / 0.696 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.6385, allocations: 16 kB / 0.696 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008783/0.6393, allocations: 100 kB / 0.6961 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.6395, allocations: 64.23 kB / 0.6962 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.887e-05/0.6396, allocations: 31.98 kB / 0.6962 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001234/0.6408, allocations: 0.8698 MB / 0.697 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6408, allocations: 0 / 0.697 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001821/0.6426, allocations: 0.7096 MB / 0.6977 GB, free: 5.293 MB / 0.5294 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.000821/0.6435, allocations: 441.4 kB / 0.6982 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00263/0.6461, allocations: 1.172 MB / 0.6993 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.6461, allocations: 4 kB / 0.6993 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.6477, allocations: 0.5956 MB / 0.6999 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00422/0.6519, allocations: 0.7917 MB / 0.7007 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.6558, allocations: 2.842 MB / 0.7034 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007289/0.6566, allocations: 1.165 MB / 0.7046 GB, free: 14.19 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000384/0.657, allocations: 115.4 kB / 0.7047 GB, free: 14.08 MB / 0.545 GB Notification: Performance of SimCode: time 6.92e-07/0.657, allocations: 4 kB / 0.7047 GB, free: 14.07 MB / 0.545 GB Notification: Performance of Templates: time 0.04601/0.703, allocations: 30.65 MB / 0.7346 GB, free: 15.6 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)