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.001647/0.001647, allocations: 110.8 kB / 16.42 MB, free: 6.461 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.001913/0.001913, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.35/1.35, allocations: 222.9 MB / 241.1 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002287/0.002286, allocations: 293.6 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.9356/0.9356, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 95.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.446/0.4479, 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.06987/0.5179, allocations: 75.13 MB / 0.8404 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01862/0.5366, allocations: 12.75 MB / 0.8529 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002861/0.5395, allocations: 67.62 kB / 0.8529 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002892/0.5424, allocations: 0.8228 MB / 0.8537 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0068/0.5492, allocations: 2.463 MB / 0.8561 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003386/0.5526, allocations: 1.395 MB / 0.8575 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005433/0.5581, allocations: 4.393 MB / 0.8618 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002098/0.5602, allocations: 1.437 MB / 0.8632 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003383/0.5636, allocations: 1.665 MB / 0.8648 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/0.5656, allocations: 1.198 MB / 0.866 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003835/0.566, allocations: 160 kB / 0.8661 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002996/0.569, allocations: 1.408 MB / 0.8675 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005005/0.5695, allocations: 394.6 kB / 0.8679 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001464/0.571, allocations: 0.906 MB / 0.8688 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004424/0.5754, allocations: 2.881 MB / 0.8716 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5754, allocations: 0 / 0.8716 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5754, allocations: 0 / 0.8716 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.49e-05/0.5755, allocations: 0 / 0.8716 GB, free: 8.473 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.004456/0.58, allocations: 2.071 MB / 0.8736 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.58, allocations: 16.02 kB / 0.8736 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009859/0.581, allocations: 226.8 kB / 0.8738 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002725/0.5837, allocations: 1.521 MB / 0.8753 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.864e-05/0.5838, allocations: 78 kB / 0.8754 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.584, allocations: 100 kB / 0.8755 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002359/0.5864, allocations: 1.1 MB / 0.8766 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.5864, allocations: 7.938 kB / 0.8766 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.5865, allocations: 40 kB / 0.8766 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.542e-05/0.5866, allocations: 28 kB / 0.8766 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.5886, allocations: 0.89 MB / 0.8775 GB, free: 2.242 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.006075/0.5947, allocations: 4.888 MB / 0.8823 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.5961, allocations: 0.6275 MB / 0.8829 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007589/0.5968, allocations: 350.8 kB / 0.8832 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006264/0.5975, allocations: 0.8277 MB / 0.884 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.5975, allocations: 39.12 kB / 0.8841 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 2.415e-06/0.5975, allocations: 4 kB / 0.8841 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.00757/0.6051, allocations: 1.685 MB / 0.8857 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.6051, allocations: 59.97 kB / 0.8858 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/0.6069, allocations: 1.221 MB / 0.887 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.287e-05/0.607, allocations: 45.7 kB / 0.887 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000521/0.6075, allocations: 0.5909 MB / 0.8876 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.6077, allocations: 224.9 kB / 0.8878 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.608, allocations: 150.6 kB / 0.888 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.6081, allocations: 341.8 kB / 0.8883 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007249/0.6089, allocations: 288.7 kB / 0.8886 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000906/0.6098, allocations: 0.4943 MB / 0.889 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.6113, allocations: 0.7089 MB / 0.8897 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.6113, allocations: 0 / 0.8897 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005016/0.6163, allocations: 1.281 MB / 0.891 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.6163, allocations: 4.375 kB / 0.891 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.6164, allocations: 8 kB / 0.891 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006287/0.617, allocations: 132.7 kB / 0.8911 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006247/0.6176, allocations: 159.8 kB / 0.8913 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008933/0.6185, allocations: 0.6967 MB / 0.892 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009973/0.6195, allocations: 115 kB / 0.8921 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.779e-05/0.6196, allocations: 43.98 kB / 0.8921 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001069/0.6207, allocations: 0.5487 MB / 0.8926 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008448/0.6216, allocations: 495.8 kB / 0.8931 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001421/0.623, allocations: 0.6934 MB / 0.8938 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.515e-06/0.623, allocations: 4 kB / 0.8938 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00488/0.6279, allocations: 1.265 MB / 0.895 GB, free: 15.43 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.6279, allocations: 10.97 kB / 0.895 GB, free: 15.42 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.6279, allocations: 4 kB / 0.8951 GB, free: 15.42 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004991/0.6284, allocations: 141.1 kB / 0.8952 GB, free: 15.28 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006159/0.6291, allocations: 155.8 kB / 0.8953 GB, free: 15.12 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008135/0.6299, allocations: 0.6967 MB / 0.896 GB, free: 14.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.6309, allocations: 99.42 kB / 0.8961 GB, free: 14.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.139e-05/0.631, allocations: 31.98 kB / 0.8961 GB, free: 14.27 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.0002187/0.6312, allocations: 228.1 kB / 0.8964 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002503/0.6315, allocations: 130.4 kB / 0.8965 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004918/0.6364, allocations: 1.263 MB / 0.8977 GB, free: 12.63 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004439/0.6408, allocations: 1.103 MB / 0.8988 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.6409, allocations: 0 / 0.8988 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004866/0.6413, allocations: 295.2 kB / 0.8991 GB, free: 11.19 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.6416, allocations: 16 kB / 0.8991 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008002/0.6424, allocations: 51.88 kB / 0.8991 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.6425, allocations: 48.48 kB / 0.8992 GB, free: 11.08 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00287/0.6454, allocations: 0.9638 MB / 0.9001 GB, free: 10.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002491/0.6479, allocations: 1.331 MB / 0.9014 GB, free: 8.754 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007025/0.6486, allocations: 328.3 kB / 0.9017 GB, free: 8.43 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001293/0.6499, allocations: 0.8575 MB / 0.9026 GB, free: 7.57 MB / 0.67 GB Notification: Performance of Backend: time 3e-07/0.6499, allocations: 0 / 0.9026 GB, free: 7.57 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003669/0.6536, allocations: 1.379 MB / 0.9039 GB, free: 6.191 MB / 0.67 GB Notification: Performance of SimCode: time 0.005425/0.659, allocations: 3.115 MB / 0.907 GB, free: 3.043 MB / 0.67 GB Notification: Performance of Templates: time 0.04965/0.7087, allocations: 33.56 MB / 0.9397 GB, free: 1.84 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)