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.0007695/0.0007695, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008393/0.0008394, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.735/0.735, allocations: 132.4 MB / 423.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002935/0.0002935, allocations: 12 kB / 0.5034 GB, free: 4.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3422, allocations: 81.58 MB / 0.5831 GB, free: 4.215 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.06249/0.4048, allocations: 69.37 MB / 0.6508 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0152/0.42, allocations: 11.94 MB / 0.6625 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002001/0.422, allocations: 55.62 kB / 0.6625 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.424, allocations: 0.5667 MB / 0.6631 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005235/0.4292, allocations: 1.889 MB / 0.6649 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002943/0.4322, allocations: 0.9659 MB / 0.6659 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005688/0.4379, allocations: 4.785 MB / 0.6705 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.4396, allocations: 1.029 MB / 0.6715 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002513/0.4421, allocations: 1.268 MB / 0.6728 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/0.4439, allocations: 1.062 MB / 0.6738 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002648/0.4441, allocations: 52 kB / 0.6739 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002357/0.4465, allocations: 0.9276 MB / 0.6748 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003664/0.4469, allocations: 274.8 kB / 0.675 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005022/0.4474, allocations: 356.9 kB / 0.6754 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.4497, allocations: 2.073 MB / 0.6774 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4497, allocations: 4 kB / 0.6774 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4497, allocations: 0 / 0.6774 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.645e-05/0.4497, allocations: 0 / 0.6774 GB, free: 15.91 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.003255/0.453, allocations: 1.797 MB / 0.6792 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.453, allocations: 8.031 kB / 0.6792 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007762/0.4538, allocations: 238 kB / 0.6794 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/0.4562, allocations: 1.454 MB / 0.6808 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.782e-05/0.4562, allocations: 78 kB / 0.6809 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.4564, allocations: 103.9 kB / 0.681 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.4584, allocations: 1.116 MB / 0.6821 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.4584, allocations: 0 / 0.6821 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.868e-05/0.4585, allocations: 40 kB / 0.6821 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.099e-05/0.4586, allocations: 24 kB / 0.6821 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.4604, allocations: 0.9212 MB / 0.683 GB, free: 9.988 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.005479/0.4659, allocations: 4.911 MB / 0.6878 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.4672, allocations: 0.6382 MB / 0.6885 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006724/0.4679, allocations: 367.1 kB / 0.6888 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005523/0.4685, allocations: 0.8316 MB / 0.6896 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.4685, allocations: 35.12 kB / 0.6896 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.074e-06/0.4685, allocations: 0 / 0.6896 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.006468/0.475, allocations: 1.881 MB / 0.6915 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.475, allocations: 55.97 kB / 0.6915 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.4765, allocations: 1.198 MB / 0.6927 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.702e-05/0.4765, allocations: 41.7 kB / 0.6927 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004743/0.477, allocations: 0.6026 MB / 0.6933 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.4772, allocations: 220.9 kB / 0.6935 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.4772, allocations: 16 kB / 0.6936 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.4773, allocations: 333.9 kB / 0.6939 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006315/0.478, allocations: 297.8 kB / 0.6942 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007756/0.4788, allocations: 0.5037 MB / 0.6947 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006949/0.4795, allocations: 355 kB / 0.695 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.4795, allocations: 8 kB / 0.695 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004276/0.4838, allocations: 1.394 MB / 0.6964 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.4839, allocations: 190.3 kB / 0.6965 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.4839, allocations: 4 kB / 0.6965 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005486/0.4844, allocations: 148.7 kB / 0.6967 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006055/0.4851, allocations: 171.8 kB / 0.6969 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007518/0.4858, allocations: 0.7122 MB / 0.6975 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009858/0.4868, allocations: 163.1 kB / 0.6977 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.374e-05/0.4869, allocations: 32 kB / 0.6977 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.4869, allocations: 7.984 kB / 0.6977 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004086/0.491, allocations: 1.245 MB / 0.699 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.491, allocations: 4 kB / 0.699 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004587/0.4915, allocations: 153 kB / 0.6991 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005862/0.4921, allocations: 159.8 kB / 0.6993 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007167/0.4928, allocations: 0.7045 MB / 0.6999 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000968/0.4938, allocations: 155.2 kB / 0.7001 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-05/0.4939, allocations: 31.98 kB / 0.7001 GB, free: 7.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.000551/0.4944, allocations: 424.9 kB / 0.7005 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.4946, allocations: 130.4 kB / 0.7007 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004291/0.4989, allocations: 1.396 MB / 0.702 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.4989, allocations: 8 kB / 0.702 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4989, allocations: 0 / 0.702 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003824/0.5028, allocations: 1.232 MB / 0.7032 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005791/0.5086, allocations: 2.731 MB / 0.7059 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.5086, allocations: 4 kB / 0.7059 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004799/0.5091, allocations: 132.1 kB / 0.706 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004578/0.5095, allocations: 136.7 kB / 0.7062 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.1e-05/0.5096, allocations: 16 kB / 0.7062 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004264/0.5139, allocations: 2.443 MB / 0.7086 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.5139, allocations: 7.938 kB / 0.7086 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004735/0.5186, allocations: 1.84 MB / 0.7104 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004702/0.5191, allocations: 335.1 kB / 0.7107 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.5193, allocations: 12 kB / 0.7107 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008201/0.5201, allocations: 99.81 kB / 0.7108 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.5202, allocations: 60.25 kB / 0.7108 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-05/0.5203, allocations: 31.98 kB / 0.7109 GB, free: 12.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001092/0.5214, allocations: 0.8621 MB / 0.7117 GB, free: 11.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5214, allocations: 288 / 0.7117 GB, free: 11.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00166/0.523, allocations: 0.7018 MB / 0.7124 GB, free: 10.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.000679/0.5237, allocations: 433.3 kB / 0.7128 GB, free: 10.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002319/0.5261, allocations: 1.153 MB / 0.7139 GB, free: 9.156 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.5261, allocations: 4 kB / 0.7139 GB, free: 9.152 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.5274, allocations: 0.5955 MB / 0.7145 GB, free: 8.547 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003041/0.5305, allocations: 0.7591 MB / 0.7153 GB, free: 7.809 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.534, allocations: 2.761 MB / 0.718 GB, free: 4.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006388/0.5346, allocations: 1.169 MB / 0.7191 GB, free: 3.785 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001056/0.5357, allocations: 299 kB / 0.7194 GB, free: 3.488 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.5359, allocations: 107.4 kB / 0.7195 GB, free: 3.383 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.5359, allocations: 0 / 0.7195 GB, free: 3.383 MB / 0.545 GB Notification: Performance of Templates: time 0.04286/0.5788, allocations: 29.3 MB / 0.7481 GB, free: 6.457 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)