Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y") translateModel(BuildingSystems.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001494/0.001494, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001671/0.001671, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002078/0.002078, allocations: 286 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9412/0.9412, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 104.2 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4103, allocations: 86.98 MB / 0.767 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Examples.Carnot_y): time 0.07121/0.4815, allocations: 75.12 MB / 0.8404 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01806/0.4996, allocations: 12.76 MB / 0.8529 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002888/0.5025, allocations: 63.62 kB / 0.8529 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.5046, allocations: 0.8541 MB / 0.8538 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006541/0.5113, allocations: 2.597 MB / 0.8563 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003307/0.5146, allocations: 1.393 MB / 0.8577 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005371/0.52, allocations: 4.393 MB / 0.8619 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003664/0.5236, allocations: 1.437 MB / 0.8634 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004529/0.5282, allocations: 1.671 MB / 0.865 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002315/0.5305, allocations: 1.194 MB / 0.8661 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005187/0.531, allocations: 164 kB / 0.8663 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00414/0.5352, allocations: 1.404 MB / 0.8677 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006968/0.5359, allocations: 394.6 kB / 0.8681 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001845/0.5377, allocations: 0.9099 MB / 0.8689 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005583/0.5433, allocations: 2.87 MB / 0.8717 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.5434, allocations: 7.984 kB / 0.8718 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5434, allocations: 0 / 0.8718 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.914e-05/0.5435, allocations: 4 kB / 0.8718 GB, free: 8.312 MB / 0.6387 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.005067/0.5485, allocations: 2.071 MB / 0.8738 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.5486, allocations: 8.031 kB / 0.8738 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.5497, allocations: 230.8 kB / 0.874 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003076/0.5528, allocations: 1.528 MB / 0.8755 GB, free: 4.355 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/0.5528, allocations: 74 kB / 0.8756 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002099/0.5531, allocations: 104 kB / 0.8757 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/0.5554, allocations: 1.096 MB / 0.8767 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.5554, allocations: 0 / 0.8767 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.5555, allocations: 44 kB / 0.8768 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/0.5556, allocations: 27.94 kB / 0.8768 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.5577, allocations: 0.8861 MB / 0.8777 GB, free: 2.09 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.006674/0.5644, allocations: 4.895 MB / 0.8825 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.5659, allocations: 0.635 MB / 0.8831 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007804/0.5666, allocations: 346.8 kB / 0.8834 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006606/0.5673, allocations: 0.8238 MB / 0.8842 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.5674, allocations: 39.12 kB / 0.8842 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 2.314e-06/0.5674, allocations: 4 kB / 0.8842 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.007534/0.5749, allocations: 1.689 MB / 0.8859 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.575, allocations: 55.97 kB / 0.886 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/0.5769, allocations: 1.229 MB / 0.8872 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.87e-05/0.577, allocations: 41.7 kB / 0.8872 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005532/0.5776, allocations: 0.5948 MB / 0.8878 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.5778, allocations: 212.9 kB / 0.888 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/0.5781, allocations: 154.5 kB / 0.8881 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.5782, allocations: 338 kB / 0.8884 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007198/0.5789, allocations: 292.6 kB / 0.8887 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000882/0.5798, allocations: 0.4904 MB / 0.8892 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.5813, allocations: 0.7127 MB / 0.8899 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.5813, allocations: 0 / 0.8899 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004975/0.5863, allocations: 1.273 MB / 0.8911 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.5864, allocations: 8 kB / 0.8912 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.5864, allocations: 4.375 kB / 0.8912 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006125/0.587, allocations: 140.7 kB / 0.8913 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006323/0.5876, allocations: 163.8 kB / 0.8914 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008666/0.5885, allocations: 0.6889 MB / 0.8921 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.5896, allocations: 123 kB / 0.8922 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.089e-05/0.5897, allocations: 35.92 kB / 0.8923 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001132/0.5908, allocations: 0.5527 MB / 0.8928 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008603/0.5917, allocations: 491.9 kB / 0.8933 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001506/0.5932, allocations: 0.7011 MB / 0.894 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.777e-06/0.5932, allocations: 4 kB / 0.894 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004965/0.5982, allocations: 1.257 MB / 0.8952 GB, free: 15.28 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.5982, allocations: 8 kB / 0.8952 GB, free: 15.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.5983, allocations: 4 kB / 0.8952 GB, free: 15.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005346/0.5988, allocations: 145 kB / 0.8953 GB, free: 15.12 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006172/0.5994, allocations: 155.8 kB / 0.8955 GB, free: 14.97 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008594/0.6003, allocations: 0.6889 MB / 0.8962 GB, free: 14.25 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.6014, allocations: 95.61 kB / 0.8963 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.87e-05/0.6016, allocations: 31.98 kB / 0.8963 GB, free: 14.13 MB / 0.67 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.0003102/0.6019, allocations: 240 kB / 0.8965 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004802/0.6024, allocations: 130.4 kB / 0.8966 GB, free: 13.76 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004916/0.6073, allocations: 1.263 MB / 0.8979 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00424/0.6115, allocations: 1.099 MB / 0.8989 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.6116, allocations: 0 / 0.8989 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006592/0.6122, allocations: 295.2 kB / 0.8992 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002777/0.6125, allocations: 16 kB / 0.8992 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008693/0.6134, allocations: 55.92 kB / 0.8993 GB, free: 10.97 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.6135, allocations: 44.44 kB / 0.8993 GB, free: 10.93 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002796/0.6163, allocations: 0.9677 MB / 0.9003 GB, free: 9.945 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002589/0.6189, allocations: 1.335 MB / 0.9016 GB, free: 8.594 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006997/0.6196, allocations: 328.3 kB / 0.9019 GB, free: 8.27 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001363/0.621, allocations: 0.8575 MB / 0.9027 GB, free: 7.41 MB / 0.67 GB Notification: Performance of Backend: time 3.2e-07/0.621, allocations: 0 / 0.9027 GB, free: 7.41 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003943/0.625, allocations: 1.382 MB / 0.9041 GB, free: 6.031 MB / 0.67 GB Notification: Performance of SimCode: time 0.005876/0.6308, allocations: 3.121 MB / 0.9071 GB, free: 2.883 MB / 0.67 GB Notification: Performance of Templates: time 0.05648/0.6873, allocations: 33.56 MB / 0.9399 GB, free: 1.676 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)