Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001425/0.001425, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001402/0.001402, allocations: 190.3 kB / 16.25 MB, free: 6.621 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9589/0.9589, allocations: 135.6 MB / 425.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 63.78 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.185, allocations: 81.03 MB / 0.5845 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.3583/0.5433, allocations: 74.48 MB / 0.6572 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01652/0.5599, allocations: 12.63 MB / 0.6696 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002989/0.5629, allocations: 60.44 kB / 0.6696 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002477/0.5654, allocations: 0.7131 MB / 0.6703 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007374/0.5729, allocations: 2.288 MB / 0.6726 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004019/0.5769, allocations: 1.28 MB / 0.6738 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007814/0.5847, allocations: 4.416 MB / 0.6781 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002653/0.5874, allocations: 1.429 MB / 0.6795 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004852/0.5923, allocations: 1.638 MB / 0.6811 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002501/0.5948, allocations: 1.233 MB / 0.6823 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003399/0.5952, allocations: 162.1 kB / 0.6825 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003785/0.5989, allocations: 1.42 MB / 0.6839 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006285/0.5996, allocations: 403.4 kB / 0.6842 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001703/0.6013, allocations: 0.905 MB / 0.6851 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005316/0.6066, allocations: 2.857 MB / 0.6879 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.6067, allocations: 0 / 0.6879 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6067, allocations: 1.875 kB / 0.6879 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.923e-05/0.6067, allocations: 0.5156 kB / 0.6879 GB, free: 4.555 MB / 0.5137 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.004542/0.6113, allocations: 2.074 MB / 0.6899 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.6113, allocations: 9.422 kB / 0.69 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008576/0.6122, allocations: 231.4 kB / 0.6902 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/0.6149, allocations: 1.491 MB / 0.6916 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.41e-05/0.615, allocations: 81.36 kB / 0.6917 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.6151, allocations: 103.8 kB / 0.6918 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.6174, allocations: 1.104 MB / 0.6929 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.6174, allocations: 3.938 kB / 0.6929 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.701e-05/0.6175, allocations: 38.47 kB / 0.6929 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.936e-05/0.6176, allocations: 27.38 kB / 0.693 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.6195, allocations: 0.8918 MB / 0.6938 GB, free: 1.27 MB / 0.5137 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.007065/0.6266, allocations: 4.895 MB / 0.6986 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.6281, allocations: 0.625 MB / 0.6992 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007159/0.6288, allocations: 348.3 kB / 0.6995 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000749/0.6296, allocations: 0.8282 MB / 0.7004 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.6296, allocations: 40.38 kB / 0.7004 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.345e-06/0.6297, allocations: 4 kB / 0.7004 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007269/0.6369, allocations: 1.678 MB / 0.702 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.637, allocations: 58.53 kB / 0.7021 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.6389, allocations: 1.209 MB / 0.7033 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.639, allocations: 42.89 kB / 0.7033 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006211/0.6397, allocations: 0.6001 MB / 0.7039 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/0.6399, allocations: 218.2 kB / 0.7041 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/0.6402, allocations: 157.4 kB / 0.7043 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.6404, allocations: 335.3 kB / 0.7046 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000696/0.6411, allocations: 287.8 kB / 0.7048 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009006/0.642, allocations: 499.4 kB / 0.7053 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.6434, allocations: 0.7051 MB / 0.706 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.6434, allocations: 5.188 kB / 0.706 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004804/0.6483, allocations: 1.265 MB / 0.7073 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.6483, allocations: 7.031 kB / 0.7073 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.6483, allocations: 10.77 kB / 0.7073 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006183/0.6489, allocations: 135 kB / 0.7074 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006426/0.6496, allocations: 161.2 kB / 0.7076 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000941/0.6506, allocations: 0.6915 MB / 0.7082 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.6521, allocations: 160.1 kB / 0.7084 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-05/0.6522, allocations: 33.97 kB / 0.7084 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001248/0.6534, allocations: 0.5568 MB / 0.709 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009028/0.6543, allocations: 493.4 kB / 0.7094 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001438/0.6558, allocations: 0.7024 MB / 0.7101 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.6558, allocations: 96 / 0.7101 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004663/0.6605, allocations: 1.271 MB / 0.7114 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.6605, allocations: 6.75 kB / 0.7114 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.6605, allocations: 2.781 kB / 0.7114 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000505/0.661, allocations: 136.9 kB / 0.7115 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005816/0.6616, allocations: 153.9 kB / 0.7116 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008715/0.6625, allocations: 0.709 MB / 0.7123 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.664, allocations: 129.7 kB / 0.7125 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.309e-05/0.6641, allocations: 31.3 kB / 0.7125 GB, free: 5.879 MB / 0.5294 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.000343/0.6644, allocations: 230.1 kB / 0.7127 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/0.6647, allocations: 138.3 kB / 0.7128 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004606/0.6693, allocations: 1.255 MB / 0.7141 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.6693, allocations: 12.09 kB / 0.7141 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.6694, allocations: 0 / 0.7141 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004012/0.6734, allocations: 1.096 MB / 0.7151 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007345/0.6807, allocations: 2.604 MB / 0.7177 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.6808, allocations: 2.594 kB / 0.7177 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005044/0.6813, allocations: 115.9 kB / 0.7178 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000528/0.6818, allocations: 128.7 kB / 0.7179 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.508e-05/0.6819, allocations: 23.59 kB / 0.7179 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005074/0.687, allocations: 2.583 MB / 0.7205 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/0.687, allocations: 8 kB / 0.7205 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005726/0.6928, allocations: 1.695 MB / 0.7221 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009736/0.6938, allocations: 311.1 kB / 0.7224 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002292/0.694, allocations: 19.98 kB / 0.7225 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009485/0.695, allocations: 74.17 kB / 0.7225 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.6951, allocations: 72.17 kB / 0.7226 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.27e-05/0.6952, allocations: 31.98 kB / 0.7226 GB, free: 13.81 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001402/0.6966, allocations: 0.8699 MB / 0.7235 GB, free: 12.94 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6966, allocations: 0 / 0.7235 GB, free: 12.94 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002314/0.699, allocations: 0.7134 MB / 0.7242 GB, free: 12.23 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.001069/0.7, allocations: 435.9 kB / 0.7246 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003053/0.7031, allocations: 1.173 MB / 0.7257 GB, free: 10.63 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.7031, allocations: 0.9375 kB / 0.7257 GB, free: 10.63 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00162/0.7048, allocations: 0.5564 MB / 0.7263 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00415/0.7089, allocations: 0.7933 MB / 0.727 GB, free: 9.312 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004719/0.7137, allocations: 2.762 MB / 0.7297 GB, free: 6.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009049/0.7146, allocations: 1.172 MB / 0.7309 GB, free: 5.277 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001495/0.7161, allocations: 303 kB / 0.7312 GB, free: 4.977 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.7164, allocations: 111.4 kB / 0.7313 GB, free: 4.867 MB / 0.545 GB Notification: Performance of SimCode: time 8.22e-07/0.7164, allocations: 0 / 0.7313 GB, free: 4.867 MB / 0.545 GB Notification: Performance of Templates: time 0.056/0.7724, allocations: 31.49 MB / 0.762 GB, free: 5.77 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)