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.001019/0.001019, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008501/0.008501, allocations: 173.9 kB / 16.27 MB, free: 6.676 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.3/1.3, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001749/0.001749, allocations: 271 kB / 291.7 MB, free: 1.844 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9242/0.9242, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003863, allocations: 15.22 kB / 0.5987 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1453, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Examples.Carnot_y): time 0.0645/0.2099, allocations: 73.4 MB / 0.7568 GB, free: 5.449 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.3601/0.57, allocations: 12.66 MB / 0.7692 GB, free: 29.89 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.5722, allocations: 61.88 kB / 0.7692 GB, free: 29.89 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001706/0.5739, allocations: 0.673 MB / 0.7699 GB, free: 29.89 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006143/0.5801, allocations: 2.271 MB / 0.7721 GB, free: 29.81 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.5833, allocations: 1.269 MB / 0.7733 GB, free: 29.79 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007165/0.5905, allocations: 5.549 MB / 0.7788 GB, free: 29.69 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001871/0.5924, allocations: 1.151 MB / 0.7799 GB, free: 29.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003/0.5954, allocations: 1.309 MB / 0.7812 GB, free: 29.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.5975, allocations: 1.139 MB / 0.7823 GB, free: 29.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001905/0.5977, allocations: 54.53 kB / 0.7823 GB, free: 29.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00285/0.6006, allocations: 1.242 MB / 0.7835 GB, free: 29.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002754/0.6008, allocations: 284.4 kB / 0.7838 GB, free: 28.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008172/0.6017, allocations: 0.7979 MB / 0.7846 GB, free: 28.7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002787/0.6045, allocations: 2.717 MB / 0.7872 GB, free: 28.33 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6045, allocations: 4.703 kB / 0.7872 GB, free: 28.33 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6045, allocations: 0 / 0.7872 GB, free: 28.33 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.448e-05/0.6045, allocations: 0 / 0.7872 GB, free: 28.33 MB / 0.545 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.002888/0.6074, allocations: 1.787 MB / 0.789 GB, free: 27.3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.6075, allocations: 9.312 kB / 0.789 GB, free: 27.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007513/0.6082, allocations: 240 kB / 0.7892 GB, free: 27.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/0.6102, allocations: 1.493 MB / 0.7907 GB, free: 26.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.988e-05/0.6102, allocations: 79.94 kB / 0.7908 GB, free: 26.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.6104, allocations: 105.4 kB / 0.7909 GB, free: 26.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/0.6126, allocations: 1.117 MB / 0.7919 GB, free: 26.62 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.6126, allocations: 5.125 kB / 0.792 GB, free: 26.62 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.644e-05/0.6127, allocations: 39.44 kB / 0.792 GB, free: 26.62 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.926e-05/0.6128, allocations: 29.16 kB / 0.792 GB, free: 26.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.6147, allocations: 0.9254 MB / 0.7929 GB, free: 26.59 MB / 0.545 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.004823/0.6196, allocations: 4.913 MB / 0.7977 GB, free: 23.44 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.6209, allocations: 0.6429 MB / 0.7983 GB, free: 23.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007036/0.6216, allocations: 370 kB / 0.7987 GB, free: 22.97 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000411/0.622, allocations: 0.8257 MB / 0.7995 GB, free: 22 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.6221, allocations: 47.03 kB / 0.7996 GB, free: 21.95 MB / 0.545 GB Notification: Performance of pre-optimization done (n=61): time 2.114e-06/0.6221, allocations: 0 / 0.7996 GB, free: 21.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=61): time 0.007481/0.6296, allocations: 1.888 MB / 0.8014 GB, free: 21.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.6296, allocations: 57.84 kB / 0.8015 GB, free: 20.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.6312, allocations: 1.208 MB / 0.8026 GB, free: 20.31 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.946e-05/0.6312, allocations: 39.2 kB / 0.8027 GB, free: 20.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/0.6316, allocations: 0.6035 MB / 0.8033 GB, free: 19.74 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.6318, allocations: 214.8 kB / 0.8035 GB, free: 19.55 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.457e-05/0.6319, allocations: 63.69 kB / 0.8035 GB, free: 19.51 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.127e-05/0.6319, allocations: 332.8 kB / 0.8038 GB, free: 19.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006552/0.6326, allocations: 302.7 kB / 0.8041 GB, free: 19.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007642/0.6334, allocations: 0.5053 MB / 0.8046 GB, free: 18.67 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.6347, allocations: 0.7491 MB / 0.8054 GB, free: 18.22 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6348, allocations: 5.312 kB / 0.8054 GB, free: 18.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004801/0.6396, allocations: 1.413 MB / 0.8067 GB, free: 17.56 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.938e-05/0.6396, allocations: 192.1 kB / 0.8069 GB, free: 17.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.6397, allocations: 6.125 kB / 0.8069 GB, free: 17.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005412/0.6402, allocations: 143.7 kB / 0.8071 GB, free: 17.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005745/0.6408, allocations: 171.4 kB / 0.8072 GB, free: 17.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006623/0.6415, allocations: 0.7119 MB / 0.8079 GB, free: 16.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.6427, allocations: 167.8 kB / 0.8081 GB, free: 16.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-05/0.6428, allocations: 30.14 kB / 0.8081 GB, free: 16.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.911e-06/0.6428, allocations: 4.5 kB / 0.8081 GB, free: 16.5 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004375/0.6472, allocations: 1.259 MB / 0.8093 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.6472, allocations: 7.297 kB / 0.8094 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004786/0.6477, allocations: 145 kB / 0.8095 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005715/0.6483, allocations: 168.3 kB / 0.8097 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006332/0.6489, allocations: 0.7021 MB / 0.8103 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.65, allocations: 164.3 kB / 0.8105 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/0.6501, allocations: 31.28 kB / 0.8105 GB, free: 15.12 MB / 0.545 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.0006828/0.6508, allocations: 423.9 kB / 0.8109 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.651, allocations: 131.9 kB / 0.8111 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004583/0.6556, allocations: 1.397 MB / 0.8124 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.6556, allocations: 6.719 kB / 0.8124 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.6556, allocations: 3.938 kB / 0.8124 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004155/0.6598, allocations: 1.238 MB / 0.8136 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006197/0.666, allocations: 2.747 MB / 0.8163 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.666, allocations: 3.312 kB / 0.8163 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004486/0.6665, allocations: 119.4 kB / 0.8164 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004578/0.6669, allocations: 148.9 kB / 0.8166 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.667, allocations: 14.97 kB / 0.8166 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004226/0.6712, allocations: 2.441 MB / 0.819 GB, free: 9.438 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.6712, allocations: 7.062 kB / 0.819 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005094/0.6763, allocations: 1.852 MB / 0.8208 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00049/0.6768, allocations: 332.2 kB / 0.8211 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.677, allocations: 15.38 kB / 0.8211 GB, free: 8.109 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008599/0.6779, allocations: 97.41 kB / 0.8212 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.678, allocations: 62.39 kB / 0.8213 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.208e-05/0.678, allocations: 29.2 kB / 0.8213 GB, free: 8.016 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009858/0.679, allocations: 0.8678 MB / 0.8222 GB, free: 7.531 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.679, allocations: 0 / 0.8222 GB, free: 7.531 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001644/0.6807, allocations: 0.712 MB / 0.8228 GB, free: 7.383 MB / 0.545 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.0006889/0.6814, allocations: 451.4 kB / 0.8233 GB, free: 7.152 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002226/0.6836, allocations: 1.172 MB / 0.8244 GB, free: 6.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6836, allocations: 0 / 0.8244 GB, free: 6.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.6849, allocations: 0.5994 MB / 0.825 GB, free: 5.906 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003745/0.6887, allocations: 0.7879 MB / 0.8258 GB, free: 5.129 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/0.6915, allocations: 2.802 MB / 0.8285 GB, free: 2.254 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.692, allocations: 1.169 MB / 0.8297 GB, free: 1.059 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009711/0.693, allocations: 307 kB / 0.8299 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.6932, allocations: 111.4 kB / 0.8301 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.6932, allocations: 0 / 0.8301 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of Templates: time 0.05096/0.7442, allocations: 31.83 MB / 0.8611 GB, free: 1.328 MB / 0.5762 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)