Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008035/0.0008035, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008103/0.0008104, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004857/0.0004857, allocations: 20.95 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2485, allocations: 116.3 MB / 0.7873 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05258/0.3011, allocations: 56.52 MB / 0.8425 GB, free: 3.312 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01669/0.3179, allocations: 11.13 MB / 0.8533 GB, free: 8.16 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002536/0.3205, allocations: 51.62 kB / 0.8534 GB, free: 8.109 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.3224, allocations: 460.8 kB / 0.8538 GB, free: 7.656 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005576/0.328, allocations: 1.516 MB / 0.8553 GB, free: 6.133 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003221/0.3312, allocations: 0.8779 MB / 0.8562 GB, free: 5.266 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005015/0.3363, allocations: 3.394 MB / 0.8595 GB, free: 1.859 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/0.3378, allocations: 0.7857 MB / 0.8602 GB, free: 1.047 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002485/0.3403, allocations: 1.05 MB / 0.8613 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.3417, allocations: 0.8087 MB / 0.8621 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.3419, allocations: 47.94 kB / 0.8621 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002647/0.3445, allocations: 1.099 MB / 0.8632 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.3448, allocations: 203 kB / 0.8634 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004292/0.3452, allocations: 289 kB / 0.8636 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002148/0.3474, allocations: 1.641 MB / 0.8652 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3474, allocations: 0 / 0.8652 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.654e-06/0.3474, allocations: 0 / 0.8652 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.3474, allocations: 0 / 0.8652 GB, free: 11.9 MB / 0.6856 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.002676/0.3501, allocations: 1.508 MB / 0.8667 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3501, allocations: 12.03 kB / 0.8667 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001936/0.3521, allocations: 469.9 kB / 0.8672 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.3541, allocations: 1.098 MB / 0.8683 GB, free: 8.703 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003053/0.3544, allocations: 129.9 kB / 0.8684 GB, free: 8.578 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.3546, allocations: 80 kB / 0.8685 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.3565, allocations: 0.9995 MB / 0.8694 GB, free: 7.461 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.3565, allocations: 0 / 0.8694 GB, free: 7.461 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.149e-05/0.3566, allocations: 32 kB / 0.8695 GB, free: 7.43 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.3566, allocations: 16 kB / 0.8695 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/0.3586, allocations: 0.9212 MB / 0.8704 GB, free: 6.496 MB / 0.6856 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.006105/0.3648, allocations: 4.607 MB / 0.8749 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003062/0.3678, allocations: 0.9461 MB / 0.8758 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007025/0.3686, allocations: 334 kB / 0.8761 GB, free: 300 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006305/0.3692, allocations: 0.9029 MB / 0.877 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.3692, allocations: 39 kB / 0.877 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 2.615e-06/0.3693, allocations: 0 / 0.877 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.006474/0.3757, allocations: 1.99 MB / 0.879 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.3758, allocations: 63.84 kB / 0.879 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.3773, allocations: 1.044 MB / 0.8801 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.406e-05/0.3773, allocations: 37.7 kB / 0.8801 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004317/0.3778, allocations: 0.5236 MB / 0.8806 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.3779, allocations: 169.6 kB / 0.8808 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.378, allocations: 12 kB / 0.8808 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3781, allocations: 326 kB / 0.8811 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008274/0.3789, allocations: 328.9 kB / 0.8814 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009498/0.3799, allocations: 0.5313 MB / 0.8819 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000832/0.3807, allocations: 360.6 kB / 0.8823 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3807, allocations: 4 kB / 0.8823 GB, free: 9.625 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003249/0.384, allocations: 1.233 MB / 0.8835 GB, free: 8.379 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/0.3842, allocations: 200 kB / 0.8837 GB, free: 8.133 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.3842, allocations: 4 kB / 0.8837 GB, free: 8.129 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.3853, allocations: 336.5 kB / 0.884 GB, free: 7.797 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/0.3858, allocations: 131.8 kB / 0.8841 GB, free: 7.668 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.3872, allocations: 0.9425 MB / 0.885 GB, free: 6.699 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.3884, allocations: 195.2 kB / 0.8852 GB, free: 6.508 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.506e-05/0.3885, allocations: 35.97 kB / 0.8853 GB, free: 6.473 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 8.355e-06/0.3885, allocations: 0 / 0.8853 GB, free: 6.473 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002896/0.3914, allocations: 1.088 MB / 0.8863 GB, free: 5.379 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3915, allocations: 4 kB / 0.8863 GB, free: 5.375 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00095/0.3924, allocations: 319.4 kB / 0.8866 GB, free: 5.062 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005099/0.3929, allocations: 139.8 kB / 0.8868 GB, free: 4.926 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.3942, allocations: 0.9347 MB / 0.8877 GB, free: 3.965 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.3953, allocations: 167.4 kB / 0.8878 GB, free: 3.801 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.173e-05/0.3954, allocations: 35.92 kB / 0.8879 GB, free: 3.766 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005747/0.396, allocations: 359.7 kB / 0.8882 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.3961, allocations: 114.7 kB / 0.8883 GB, free: 3.293 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/0.3984, allocations: 1.042 MB / 0.8893 GB, free: 2.238 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.3984, allocations: 12 kB / 0.8893 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.3984, allocations: 4 kB / 0.8894 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.3984, allocations: 7.984 kB / 0.8894 GB, free: 2.215 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005252/0.4037, allocations: 2.457 MB / 0.8918 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.4037, allocations: 4.281 kB / 0.8918 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.404, allocations: 83.88 kB / 0.8918 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009878/0.405, allocations: 320.5 kB / 0.8921 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.381e-05/0.4051, allocations: 15.98 kB / 0.8922 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.4066, allocations: 0.9699 MB / 0.8931 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.4066, allocations: 3.984 kB / 0.8931 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003425/0.4101, allocations: 1.297 MB / 0.8944 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005091/0.4106, allocations: 283.4 kB / 0.8947 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.4107, allocations: 19.95 kB / 0.8947 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007944/0.4115, allocations: 107.9 kB / 0.8948 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.4116, allocations: 35.95 kB / 0.8948 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.445e-05/0.4117, allocations: 27.97 kB / 0.8948 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001097/0.4128, allocations: 0.7391 MB / 0.8956 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4128, allocations: 0 / 0.8956 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001507/0.4143, allocations: 0.5613 MB / 0.8961 GB, free: 11.12 MB / 0.7169 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 (37): * Single equations (assignments): 32 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006807/0.415, allocations: 364.3 kB / 0.8965 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002945/0.418, allocations: 1.214 MB / 0.8976 GB, free: 9.547 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.418, allocations: 4 kB / 0.8976 GB, free: 9.543 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008487/0.4188, allocations: 395.3 kB / 0.898 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/0.4211, allocations: 0.5143 MB / 0.8985 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005124/0.4262, allocations: 2.508 MB / 0.901 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006296/0.4268, allocations: 1.066 MB / 0.902 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009749/0.4278, allocations: 232.8 kB / 0.9022 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.428, allocations: 79.41 kB / 0.9023 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of SimCode: time 6.22e-07/0.428, allocations: 0 / 0.9023 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of Templates: time 0.434/0.862, allocations: 23.51 MB / 0.9253 GB, free: 133.1 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) Environment - environmentSimulation: