Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Chillers.Examples.Carnot_y") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001476/0.001476, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001665/0.001665, allocations: 198.5 kB / 16.14 MB, free: 6.688 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.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7995/0.7995, allocations: 132.2 MB / 422.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 71.47 kB / 0.5011 GB, free: 9.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1835, allocations: 80.2 MB / 0.5794 GB, free: 9.277 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.3735/0.557, allocations: 74.67 MB / 0.6523 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01649/0.5736, allocations: 12.79 MB / 0.6648 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003053/0.5767, allocations: 64.41 kB / 0.6649 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.5787, allocations: 0.6757 MB / 0.6655 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005808/0.5846, allocations: 2.267 MB / 0.6678 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003037/0.5876, allocations: 1.269 MB / 0.669 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007864/0.5955, allocations: 5.531 MB / 0.6744 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002728/0.5983, allocations: 1.188 MB / 0.6756 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004139/0.6024, allocations: 1.354 MB / 0.6769 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003314/0.6058, allocations: 1.187 MB / 0.678 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005672/0.6064, allocations: 72.38 kB / 0.6781 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006411/0.6128, allocations: 1.252 MB / 0.6793 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008968/0.6137, allocations: 317.2 kB / 0.6796 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002182/0.6159, allocations: 0.813 MB / 0.6804 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005578/0.6215, allocations: 2.777 MB / 0.6831 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.6216, allocations: 4 kB / 0.6831 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.947e-06/0.6216, allocations: 0 / 0.6831 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.297e-05/0.6216, allocations: 5.688 kB / 0.6831 GB, free: 10.77 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.004564/0.6262, allocations: 2.076 MB / 0.6852 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.6262, allocations: 12.59 kB / 0.6852 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000908/0.6272, allocations: 227 kB / 0.6854 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002757/0.6299, allocations: 1.494 MB / 0.6869 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.292e-05/0.63, allocations: 72.81 kB / 0.6869 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.6302, allocations: 103.1 kB / 0.687 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/0.6323, allocations: 1.102 MB / 0.6881 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.6324, allocations: 5.656 kB / 0.6881 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.319e-05/0.6325, allocations: 41.19 kB / 0.6882 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/0.6325, allocations: 25.3 kB / 0.6882 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.6345, allocations: 0.8873 MB / 0.689 GB, free: 7.488 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.007038/0.6416, allocations: 4.891 MB / 0.6938 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.6431, allocations: 0.6189 MB / 0.6944 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007105/0.6438, allocations: 355.9 kB / 0.6948 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006885/0.6445, allocations: 0.8268 MB / 0.6956 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/0.6445, allocations: 39.22 kB / 0.6956 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 4.649e-06/0.6445, allocations: 0 / 0.6956 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007396/0.6519, allocations: 1.677 MB / 0.6972 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.652, allocations: 62.23 kB / 0.6973 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/0.6542, allocations: 1.213 MB / 0.6985 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001902/0.6544, allocations: 43.17 kB / 0.6985 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005497/0.6549, allocations: 0.6046 MB / 0.6991 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.6552, allocations: 214 kB / 0.6993 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/0.6554, allocations: 159.7 kB / 0.6995 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.6556, allocations: 328.5 kB / 0.6998 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006985/0.6563, allocations: 290.7 kB / 0.7001 GB, free: 476 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008864/0.6572, allocations: 498.8 kB / 0.7005 GB, free: 152 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.6587, allocations: 0.7141 MB / 0.7012 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.6587, allocations: 5.406 kB / 0.7012 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004929/0.6636, allocations: 1.271 MB / 0.7025 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.6637, allocations: 5.5 kB / 0.7025 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.6637, allocations: 4.125 kB / 0.7025 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/0.6643, allocations: 133 kB / 0.7026 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007064/0.6651, allocations: 163.1 kB / 0.7028 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.6661, allocations: 0.6942 MB / 0.7035 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/0.6679, allocations: 153.8 kB / 0.7036 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.668, allocations: 36.36 kB / 0.7036 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001568/0.6696, allocations: 0.5532 MB / 0.7042 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009106/0.6705, allocations: 489.7 kB / 0.7046 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001402/0.6719, allocations: 0.7016 MB / 0.7053 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.298e-06/0.672, allocations: 1.344 kB / 0.7053 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005227/0.6772, allocations: 1.27 MB / 0.7066 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.6772, allocations: 7.406 kB / 0.7066 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.6773, allocations: 2.156 kB / 0.7066 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005192/0.6778, allocations: 135.3 kB / 0.7067 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000606/0.6784, allocations: 160.9 kB / 0.7069 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007841/0.6792, allocations: 0.7019 MB / 0.7075 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.6809, allocations: 135.2 kB / 0.7077 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.184e-05/0.681, allocations: 30.33 kB / 0.7077 GB, free: 12.05 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.0004348/0.6814, allocations: 229.7 kB / 0.7079 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003484/0.6818, allocations: 145.9 kB / 0.7081 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004701/0.6865, allocations: 1.258 MB / 0.7093 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.6865, allocations: 7.094 kB / 0.7093 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.6865, allocations: 0 / 0.7093 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004057/0.6906, allocations: 1.097 MB / 0.7104 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007619/0.6982, allocations: 2.612 MB / 0.7129 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.6983, allocations: 6.484 kB / 0.7129 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004942/0.6988, allocations: 116.8 kB / 0.713 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005135/0.6993, allocations: 128.1 kB / 0.7132 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.409e-05/0.6994, allocations: 21.56 kB / 0.7132 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004711/0.7041, allocations: 2.342 MB / 0.7155 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.7041, allocations: 8.969 kB / 0.7155 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005762/0.7099, allocations: 1.695 MB / 0.7171 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009876/0.7109, allocations: 311.1 kB / 0.7174 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005868/0.7115, allocations: 16 kB / 0.7174 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.7128, allocations: 75.97 kB / 0.7175 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.713, allocations: 64.23 kB / 0.7176 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.339e-05/0.7131, allocations: 31.98 kB / 0.7176 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001683/0.7148, allocations: 0.8699 MB / 0.7185 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7148, allocations: 0 / 0.7185 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00309/0.7179, allocations: 0.7134 MB / 0.7192 GB, free: 3.129 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.001262/0.7192, allocations: 450.5 kB / 0.7196 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002993/0.7222, allocations: 1.111 MB / 0.7207 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.7222, allocations: 0 / 0.7207 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001625/0.7238, allocations: 0.557 MB / 0.7212 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004795/0.7287, allocations: 0.7519 MB / 0.7219 GB, free: 288 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007015/0.7357, allocations: 2.754 MB / 0.7246 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/0.7372, allocations: 1.172 MB / 0.7258 GB, free: 12.26 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00185/0.739, allocations: 307 kB / 0.7261 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004734/0.7395, allocations: 103.4 kB / 0.7262 GB, free: 11.85 MB / 0.545 GB Notification: Performance of SimCode: time 1.724e-06/0.7395, allocations: 0 / 0.7262 GB, free: 11.85 MB / 0.545 GB Notification: Performance of Templates: time 0.0543/0.7938, allocations: 30.37 MB / 0.7558 GB, free: 13.86 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.sim & ./IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)