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.001389/0.001389, allocations: 109.1 kB / 16.52 MB, free: 6.664 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.001347/0.001347, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.378/1.378, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8384/0.8384, allocations: 115.3 MB / 406.6 MB, free: 6.395 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 59.91 kB / 493.5 MB, free: 0.8711 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3913, allocations: 76.17 MB / 0.5564 GB, free: 36.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.06397/0.4553, allocations: 74.66 MB / 0.6293 GB, free: 9.887 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01859/0.4739, allocations: 12.83 MB / 0.6418 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003009/0.477, allocations: 59.62 kB / 0.6419 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002665/0.4797, allocations: 0.6721 MB / 0.6425 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00732/0.487, allocations: 2.267 MB / 0.6447 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003828/0.4909, allocations: 1.269 MB / 0.646 GB, free: 8.766 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007305/0.4982, allocations: 5.542 MB / 0.6514 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00233/0.5006, allocations: 1.184 MB / 0.6525 GB, free: 2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003602/0.5042, allocations: 1.373 MB / 0.6539 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002363/0.5066, allocations: 1.175 MB / 0.655 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005869/0.5072, allocations: 72 kB / 0.6551 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003551/0.5108, allocations: 1.259 MB / 0.6563 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006799/0.5115, allocations: 310.6 kB / 0.6566 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001844/0.5134, allocations: 0.8084 MB / 0.6574 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003614/0.517, allocations: 2.206 MB / 0.6596 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.517, allocations: 4 kB / 0.6596 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.517, allocations: 0 / 0.6596 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.483e-05/0.5171, allocations: 4 kB / 0.6596 GB, free: 10.77 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.005065/0.5222, allocations: 2.075 MB / 0.6616 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.5222, allocations: 11.97 kB / 0.6616 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.5233, allocations: 226.8 kB / 0.6618 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003067/0.5264, allocations: 1.501 MB / 0.6633 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-05/0.5265, allocations: 70 kB / 0.6634 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/0.5267, allocations: 100 kB / 0.6635 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002375/0.5291, allocations: 1.104 MB / 0.6645 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.5291, allocations: 11.88 kB / 0.6645 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.5292, allocations: 44 kB / 0.6646 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.5293, allocations: 24 kB / 0.6646 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/0.5313, allocations: 0.89 MB / 0.6655 GB, free: 4.566 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.007062/0.5384, allocations: 4.893 MB / 0.6703 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.5399, allocations: 0.6158 MB / 0.6709 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007302/0.5407, allocations: 350.3 kB / 0.6712 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007035/0.5414, allocations: 0.8355 MB / 0.672 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.5414, allocations: 39.12 kB / 0.672 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.334e-06/0.5414, allocations: 0 / 0.672 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007388/0.5488, allocations: 1.681 MB / 0.6737 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.5489, allocations: 59.97 kB / 0.6737 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/0.5511, allocations: 1.206 MB / 0.6749 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001302/0.5513, allocations: 45.7 kB / 0.675 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005787/0.5518, allocations: 0.5948 MB / 0.6755 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/0.5521, allocations: 224.8 kB / 0.6758 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002922/0.5524, allocations: 154.6 kB / 0.6759 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5526, allocations: 326 kB / 0.6762 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007215/0.5533, allocations: 296.7 kB / 0.6765 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009167/0.5542, allocations: 498.7 kB / 0.677 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.5558, allocations: 0.7128 MB / 0.6777 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.5558, allocations: 0 / 0.6777 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004946/0.5607, allocations: 1.281 MB / 0.6789 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.5608, allocations: 4 kB / 0.6789 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.5608, allocations: 4 kB / 0.6789 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006554/0.5615, allocations: 133.1 kB / 0.6791 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006597/0.5621, allocations: 167.8 kB / 0.6792 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008947/0.563, allocations: 0.6888 MB / 0.6799 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.5644, allocations: 163 kB / 0.68 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.787e-05/0.5645, allocations: 32 kB / 0.6801 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001211/0.5658, allocations: 0.5565 MB / 0.6806 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008839/0.5667, allocations: 483.8 kB / 0.6811 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001436/0.5681, allocations: 0.7051 MB / 0.6818 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.15e-06/0.5681, allocations: 4 kB / 0.6818 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004851/0.573, allocations: 1.269 MB / 0.683 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.573, allocations: 4 kB / 0.683 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.573, allocations: 4 kB / 0.683 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005476/0.5736, allocations: 133 kB / 0.6831 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006515/0.5742, allocations: 159.8 kB / 0.6833 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008738/0.5751, allocations: 0.6928 MB / 0.684 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.5766, allocations: 143.4 kB / 0.6841 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.5767, allocations: 28 kB / 0.6841 GB, free: 0.543 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.0003063/0.577, allocations: 225.1 kB / 0.6844 GB, free: 324 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004552/0.5774, allocations: 142.3 kB / 0.6845 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004902/0.5824, allocations: 1.263 MB / 0.6857 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/0.5824, allocations: 8 kB / 0.6857 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.659e-06/0.5824, allocations: 0 / 0.6857 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004216/0.5867, allocations: 1.099 MB / 0.6868 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007698/0.5944, allocations: 2.598 MB / 0.6893 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.5944, allocations: 0 / 0.6893 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000553/0.595, allocations: 115.8 kB / 0.6895 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005424/0.5956, allocations: 128.8 kB / 0.6896 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.529e-05/0.5956, allocations: 23.92 kB / 0.6896 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00477/0.6004, allocations: 2.346 MB / 0.6919 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.6005, allocations: 4 kB / 0.6919 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005535/0.606, allocations: 1.703 MB / 0.6936 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007469/0.6068, allocations: 311.4 kB / 0.6939 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003637/0.6071, allocations: 16 kB / 0.6939 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.6083, allocations: 79.88 kB / 0.6939 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.6084, allocations: 64.17 kB / 0.694 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.812e-05/0.6085, allocations: 39.98 kB / 0.694 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001665/0.6102, allocations: 0.866 MB / 0.6949 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6102, allocations: 0 / 0.6949 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002439/0.6127, allocations: 0.7135 MB / 0.6956 GB, free: 4.398 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.001106/0.6138, allocations: 435.7 kB / 0.696 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002899/0.6167, allocations: 1.109 MB / 0.6971 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.056e-06/0.6167, allocations: 4 kB / 0.6971 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/0.6183, allocations: 0.5608 MB / 0.6976 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004215/0.6225, allocations: 0.7598 MB / 0.6984 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004987/0.6276, allocations: 2.776 MB / 0.7011 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000984/0.6286, allocations: 1.169 MB / 0.7022 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000435/0.629, allocations: 115.3 kB / 0.7023 GB, free: 13.38 MB / 0.545 GB Notification: Performance of SimCode: time 1.673e-06/0.629, allocations: 0 / 0.7023 GB, free: 13.38 MB / 0.545 GB Notification: Performance of Templates: time 0.04461/0.6737, allocations: 30.85 MB / 0.7325 GB, free: 14.73 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)