Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.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_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005525/0.005525, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.001479/0.00148, allocations: 189.5 kB / 16.67 MB, free: 5.938 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7556/0.7556, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 57.16 kB / 0.5813 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1394, allocations: 80.22 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.0522/0.1917, allocations: 61.15 MB / 0.7194 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01498/0.2067, allocations: 11.98 MB / 0.7311 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/0.209, allocations: 59.62 kB / 0.7311 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.2107, allocations: 0.6791 MB / 0.7318 GB, free: 156 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005702/0.2165, allocations: 1.959 MB / 0.7337 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003595/0.2201, allocations: 1.212 MB / 0.7349 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00435/0.2245, allocations: 3.079 MB / 0.7379 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.2259, allocations: 1.084 MB / 0.739 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002696/0.2286, allocations: 1.346 MB / 0.7403 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.2298, allocations: 0.8867 MB / 0.7411 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000161/0.23, allocations: 116 kB / 0.7412 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002547/0.2325, allocations: 1.447 MB / 0.7427 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002647/0.2328, allocations: 294.8 kB / 0.7429 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007611/0.2336, allocations: 0.6919 MB / 0.7436 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003405/0.237, allocations: 2.312 MB / 0.7459 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.237, allocations: 0 / 0.7459 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.905e-06/0.237, allocations: 3.938 kB / 0.7459 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.237, allocations: 7.938 kB / 0.7459 GB, free: 1.664 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.3329/0.5699, allocations: 1.778 MB / 0.7476 GB, free: 86.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.5699, allocations: 8.844 kB / 0.7476 GB, free: 86.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002264/0.5722, allocations: 415.5 kB / 0.748 GB, free: 86.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/0.5745, allocations: 1.17 MB / 0.7492 GB, free: 86.51 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.638e-05/0.5745, allocations: 64.5 kB / 0.7492 GB, free: 86.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.5747, allocations: 78.56 kB / 0.7493 GB, free: 86.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.5766, allocations: 0.9954 MB / 0.7503 GB, free: 85.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.5766, allocations: 12.75 kB / 0.7503 GB, free: 85.97 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.854e-05/0.5767, allocations: 31.81 kB / 0.7503 GB, free: 85.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.5767, allocations: 20.33 kB / 0.7503 GB, free: 85.95 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.5788, allocations: 0.8516 MB / 0.7512 GB, free: 85.67 MB / 0.5762 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.005846/0.5847, allocations: 5.21 MB / 0.7563 GB, free: 81.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003432/0.5881, allocations: 0.7849 MB / 0.757 GB, free: 81.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007132/0.5888, allocations: 294.1 kB / 0.7573 GB, free: 81.41 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004723/0.5893, allocations: 0.9037 MB / 0.7582 GB, free: 80.37 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.5894, allocations: 37.81 kB / 0.7582 GB, free: 80.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.655e-06/0.5894, allocations: 2.969 kB / 0.7582 GB, free: 80.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007143/0.5965, allocations: 1.703 MB / 0.7599 GB, free: 79.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.5966, allocations: 55.62 kB / 0.7599 GB, free: 79.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/0.5987, allocations: 1.081 MB / 0.761 GB, free: 79.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.882e-05/0.5988, allocations: 37.08 kB / 0.761 GB, free: 79.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004201/0.5992, allocations: 0.5368 MB / 0.7616 GB, free: 78.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.5993, allocations: 160.7 kB / 0.7617 GB, free: 78.85 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002574/0.5996, allocations: 144.5 kB / 0.7618 GB, free: 78.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.182e-05/0.5997, allocations: 326.3 kB / 0.7622 GB, free: 78.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008329/0.6005, allocations: 309.1 kB / 0.7624 GB, free: 78.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009931/0.6015, allocations: 0.5252 MB / 0.763 GB, free: 77.99 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.6032, allocations: 0.7181 MB / 0.7637 GB, free: 77.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.6032, allocations: 1.594 kB / 0.7637 GB, free: 77.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00291/0.6061, allocations: 1.016 MB / 0.7647 GB, free: 77.21 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.6061, allocations: 7.969 kB / 0.7647 GB, free: 77.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.6062, allocations: 6.016 kB / 0.7647 GB, free: 77.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.6075, allocations: 307 kB / 0.765 GB, free: 77.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/0.6081, allocations: 132.2 kB / 0.7651 GB, free: 77.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.6094, allocations: 0.8976 MB / 0.766 GB, free: 76.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.6108, allocations: 154 kB / 0.7661 GB, free: 76.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.034e-05/0.6109, allocations: 35.59 kB / 0.7661 GB, free: 76.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001313/0.6122, allocations: 0.5109 MB / 0.7666 GB, free: 76.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001016/0.6133, allocations: 0.5233 MB / 0.7672 GB, free: 75.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001649/0.6149, allocations: 0.7054 MB / 0.7678 GB, free: 75.42 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.55e-06/0.615, allocations: 1.219 kB / 0.7678 GB, free: 75.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002644/0.6176, allocations: 1.006 MB / 0.7688 GB, free: 75.04 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.6176, allocations: 7.062 kB / 0.7688 GB, free: 75.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.6176, allocations: 5.25 kB / 0.7688 GB, free: 75.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.6187, allocations: 304.1 kB / 0.7691 GB, free: 74.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005056/0.6192, allocations: 126.5 kB / 0.7693 GB, free: 74.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.6204, allocations: 0.8934 MB / 0.7701 GB, free: 74.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.6217, allocations: 138.4 kB / 0.7703 GB, free: 74.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-05/0.6218, allocations: 34.86 kB / 0.7703 GB, free: 74.24 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003024/0.6221, allocations: 219.2 kB / 0.7705 GB, free: 74.03 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.6223, allocations: 116.7 kB / 0.7706 GB, free: 73.97 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.6245, allocations: 0.921 MB / 0.7715 GB, free: 73.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.6245, allocations: 5 kB / 0.7715 GB, free: 73.45 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.6245, allocations: 1.125 kB / 0.7715 GB, free: 73.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.6245, allocations: 3.984 kB / 0.7715 GB, free: 73.44 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004881/0.6294, allocations: 2.151 MB / 0.7736 GB, free: 71.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.6295, allocations: 1.281 kB / 0.7736 GB, free: 71.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.6297, allocations: 65.61 kB / 0.7737 GB, free: 71.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009918/0.6307, allocations: 293.6 kB / 0.774 GB, free: 71.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.986e-05/0.6308, allocations: 9.625 kB / 0.774 GB, free: 71.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.632, allocations: 0.9312 MB / 0.7749 GB, free: 71.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.632, allocations: 7.859 kB / 0.7749 GB, free: 71.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003212/0.6353, allocations: 1.146 MB / 0.776 GB, free: 70.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004782/0.6357, allocations: 272.1 kB / 0.7763 GB, free: 70.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.6359, allocations: 18.98 kB / 0.7763 GB, free: 70.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007627/0.6367, allocations: 73.03 kB / 0.7764 GB, free: 70.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.283e-05/0.6368, allocations: 37.12 kB / 0.7764 GB, free: 70.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.154e-05/0.6368, allocations: 23.45 kB / 0.7764 GB, free: 70.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001138/0.638, allocations: 0.7565 MB / 0.7772 GB, free: 69.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.638, allocations: 0 / 0.7772 GB, free: 69.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00144/0.6394, allocations: 0.572 MB / 0.7777 GB, free: 69.52 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (33): * Single equations (assignments): 28 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007053/0.6401, allocations: 390.1 kB / 0.7781 GB, free: 69.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002845/0.643, allocations: 1.11 MB / 0.7792 GB, free: 68.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.643, allocations: 1.094 kB / 0.7792 GB, free: 68.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007657/0.6438, allocations: 355.5 kB / 0.7795 GB, free: 68.65 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.6457, allocations: 0.5112 MB / 0.78 GB, free: 68.41 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004255/0.65, allocations: 2.056 MB / 0.782 GB, free: 67.15 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.6503, allocations: 1.062 MB / 0.7831 GB, free: 66.29 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006391/0.651, allocations: 226.7 kB / 0.7833 GB, free: 66.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.6511, allocations: 70.61 kB / 0.7833 GB, free: 66.18 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.6511, allocations: 0 / 0.7833 GB, free: 66.18 MB / 0.5762 GB Notification: Performance of Templates: time 0.03012/0.6813, allocations: 25 MB / 0.8077 GB, free: 42.68 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)