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.001283/0.001283, allocations: 107.8 kB / 16.27 MB, free: 6.414 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.001284/0.001284, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.33/1.33, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7873/0.7873, allocations: 135.2 MB / 426.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 59.91 kB / 0.506 GB, free: 8.375 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3233, allocations: 80.92 MB / 0.585 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.06855/0.3919, allocations: 75.13 MB / 0.6584 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01867/0.4106, allocations: 12.73 MB / 0.6709 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00195/0.4126, allocations: 63.62 kB / 0.6709 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002256/0.4149, allocations: 0.8268 MB / 0.6717 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006254/0.4212, allocations: 2.468 MB / 0.6741 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003307/0.4245, allocations: 1.375 MB / 0.6755 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005757/0.4302, allocations: 4.38 MB / 0.6797 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002594/0.4329, allocations: 1.437 MB / 0.6812 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00383/0.4367, allocations: 1.617 MB / 0.6827 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002213/0.4389, allocations: 1.186 MB / 0.6839 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004547/0.4394, allocations: 168 kB / 0.684 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003358/0.4428, allocations: 1.4 MB / 0.6854 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005764/0.4434, allocations: 402.6 kB / 0.6858 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001655/0.445, allocations: 0.906 MB / 0.6867 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004909/0.4499, allocations: 2.84 MB / 0.6895 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.45, allocations: 3.938 kB / 0.6895 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.45, allocations: 0 / 0.6895 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.761e-05/0.45, allocations: 0 / 0.6895 GB, free: 15.34 MB / 0.5294 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.004239/0.4543, allocations: 2.075 MB / 0.6915 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.4543, allocations: 17.11 kB / 0.6915 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008185/0.4552, allocations: 222.8 kB / 0.6917 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002375/0.4575, allocations: 1.461 MB / 0.6931 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/0.4576, allocations: 74 kB / 0.6932 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.4578, allocations: 104 kB / 0.6933 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.4598, allocations: 1.096 MB / 0.6944 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.4598, allocations: 4 kB / 0.6944 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.908e-05/0.4599, allocations: 40 kB / 0.6944 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/0.4599, allocations: 24 kB / 0.6944 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.4618, allocations: 0.886 MB / 0.6953 GB, free: 9.195 MB / 0.5294 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.006191/0.468, allocations: 4.954 MB / 0.7002 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.4695, allocations: 0.6146 MB / 0.7008 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007423/0.4702, allocations: 350.3 kB / 0.7011 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007701/0.471, allocations: 0.8238 MB / 0.7019 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.471, allocations: 47.12 kB / 0.7019 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.264e-06/0.4711, allocations: 4 kB / 0.7019 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.0072/0.4783, allocations: 1.674 MB / 0.7036 GB, free: 224 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.4783, allocations: 59.97 kB / 0.7036 GB, free: 152 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/0.4802, allocations: 1.225 MB / 0.7048 GB, free: 14.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.4803, allocations: 41.7 kB / 0.7049 GB, free: 14.86 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005348/0.4808, allocations: 0.6025 MB / 0.7055 GB, free: 14.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/0.4811, allocations: 220.9 kB / 0.7057 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/0.4813, allocations: 154.6 kB / 0.7058 GB, free: 13.87 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4815, allocations: 337.9 kB / 0.7061 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000676/0.4822, allocations: 284.7 kB / 0.7064 GB, free: 13.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008628/0.483, allocations: 499.8 kB / 0.7069 GB, free: 12.69 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.4845, allocations: 0.7129 MB / 0.7076 GB, free: 11.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4845, allocations: 0 / 0.7076 GB, free: 11.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004743/0.4892, allocations: 1.269 MB / 0.7088 GB, free: 10.65 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4893, allocations: 8 kB / 0.7088 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.4893, allocations: 4.375 kB / 0.7088 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005646/0.4899, allocations: 140.7 kB / 0.709 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005788/0.4905, allocations: 155.8 kB / 0.7091 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009005/0.4914, allocations: 0.7043 MB / 0.7098 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.4924, allocations: 119 kB / 0.7099 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.811e-05/0.4925, allocations: 36.06 kB / 0.71 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001146/0.4936, allocations: 0.5535 MB / 0.7105 GB, free: 8.906 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008439/0.4945, allocations: 483.9 kB / 0.711 GB, free: 8.359 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001421/0.4959, allocations: 0.7011 MB / 0.7116 GB, free: 7.609 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.198e-06/0.4959, allocations: 8 kB / 0.7116 GB, free: 7.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004679/0.5006, allocations: 1.261 MB / 0.7129 GB, free: 6.328 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.5006, allocations: 8 kB / 0.7129 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5007, allocations: 4 kB / 0.7129 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005176/0.5012, allocations: 141 kB / 0.713 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005791/0.5018, allocations: 155.8 kB / 0.7132 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008573/0.5026, allocations: 0.6927 MB / 0.7138 GB, free: 5.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.5037, allocations: 103.5 kB / 0.7139 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-05/0.5037, allocations: 27.98 kB / 0.714 GB, free: 5.176 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.0002675/0.504, allocations: 236.1 kB / 0.7142 GB, free: 4.938 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.5043, allocations: 134.3 kB / 0.7143 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004798/0.5091, allocations: 1.264 MB / 0.7156 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.5091, allocations: 8 kB / 0.7156 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5091, allocations: 4 kB / 0.7156 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004204/0.5133, allocations: 1.103 MB / 0.7166 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006794/0.5201, allocations: 2.61 MB / 0.7192 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.5202, allocations: 4 kB / 0.7192 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000476/0.5207, allocations: 115.8 kB / 0.7193 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005008/0.5212, allocations: 141 kB / 0.7194 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.922e-05/0.5212, allocations: 19.98 kB / 0.7195 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005109/0.5263, allocations: 2.572 MB / 0.722 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/0.5264, allocations: 11.92 kB / 0.722 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005465/0.5319, allocations: 1.695 MB / 0.7236 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006277/0.5325, allocations: 307.2 kB / 0.7239 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.5327, allocations: 16 kB / 0.724 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007624/0.5335, allocations: 55.88 kB / 0.724 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.5336, allocations: 60.36 kB / 0.7241 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.925e-05/0.5337, allocations: 31.98 kB / 0.7241 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001297/0.535, allocations: 0.8855 MB / 0.725 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.535, allocations: 0 / 0.725 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001893/0.5369, allocations: 0.7251 MB / 0.7257 GB, free: 8.777 MB / 0.5606 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.0009116/0.5378, allocations: 459.8 kB / 0.7261 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002814/0.5406, allocations: 1.16 MB / 0.7272 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.5406, allocations: 4 kB / 0.7272 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001518/0.5422, allocations: 0.5449 MB / 0.7278 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003594/0.5458, allocations: 0.8145 MB / 0.7286 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/0.5497, allocations: 2.336 MB / 0.7309 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008569/0.5506, allocations: 1.168 MB / 0.732 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.5509, allocations: 107.4 kB / 0.7321 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of SimCode: time 8.51e-07/0.5509, allocations: 0 / 0.7321 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of Templates: time 0.2683/0.8192, allocations: 31.1 MB / 0.7625 GB, free: 150.6 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)