Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.0086/0.008607, allocations: 104.8 kB / 15.73 MB, free: 6.039 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.00148/0.00148, allocations: 193 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.595/1.595, allocations: 251.7 MB / 0.5094 GB, free: 3.051 MB / 414.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.001924/0.001924, allocations: 67.91 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2702, allocations: 104.7 MB / 0.828 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07481/0.345, allocations: 75.16 MB / 0.9014 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.7158/1.061, allocations: 12.59 MB / 0.9137 GB, free: 27.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003682/1.065, allocations: 64.09 kB / 0.9138 GB, free: 27.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002898/1.068, allocations: 0.8512 MB / 0.9146 GB, free: 27.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009143/1.077, allocations: 2.576 MB / 0.9171 GB, free: 27.14 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004688/1.082, allocations: 1.362 MB / 0.9185 GB, free: 27.11 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01022/1.092, allocations: 4.351 MB / 0.9227 GB, free: 27.1 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004134/1.096, allocations: 1.434 MB / 0.9241 GB, free: 26.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006751/1.103, allocations: 1.651 MB / 0.9257 GB, free: 26.8 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003708/1.106, allocations: 1.203 MB / 0.9269 GB, free: 26.53 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005235/1.107, allocations: 162.2 kB / 0.9271 GB, free: 26.53 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005761/1.113, allocations: 1.399 MB / 0.9284 GB, free: 26.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008018/1.114, allocations: 397.9 kB / 0.9288 GB, free: 26.36 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002318/1.116, allocations: 0.8983 MB / 0.9297 GB, free: 26.11 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00837/1.124, allocations: 2.851 MB / 0.9325 GB, free: 25.65 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/1.124, allocations: 3.938 kB / 0.9325 GB, free: 25.64 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.515e-06/1.124, allocations: 1.031 kB / 0.9325 GB, free: 25.64 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.474e-05/1.124, allocations: 4 kB / 0.9325 GB, free: 25.64 MB / 0.7169 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.006022/1.13, allocations: 2.071 MB / 0.9345 GB, free: 24.3 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/1.131, allocations: 10.44 kB / 0.9345 GB, free: 24.3 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009779/1.132, allocations: 226.9 kB / 0.9347 GB, free: 24.21 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003253/1.135, allocations: 1.503 MB / 0.9362 GB, free: 23.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.232e-05/1.135, allocations: 76.44 kB / 0.9363 GB, free: 23.31 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/1.135, allocations: 102.5 kB / 0.9364 GB, free: 23.28 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002288/1.137, allocations: 1.094 MB / 0.9374 GB, free: 22.79 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/1.137, allocations: 1.438 kB / 0.9374 GB, free: 22.79 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.516e-05/1.138, allocations: 41.19 kB / 0.9375 GB, free: 22.76 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.271e-05/1.138, allocations: 25.88 kB / 0.9375 GB, free: 22.76 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/1.14, allocations: 0.8869 MB / 0.9384 GB, free: 22.45 MB / 0.7169 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.006716/1.146, allocations: 4.893 MB / 0.9431 GB, free: 19.07 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/1.148, allocations: 0.6193 MB / 0.9437 GB, free: 18.85 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000713/1.149, allocations: 351.1 kB / 0.9441 GB, free: 18.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005499/1.149, allocations: 0.8285 MB / 0.9449 GB, free: 17.78 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/1.149, allocations: 42.66 kB / 0.9449 GB, free: 17.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 3.317e-06/1.149, allocations: 0 / 0.9449 GB, free: 17.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.006993/1.156, allocations: 1.669 MB / 0.9466 GB, free: 17.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/1.156, allocations: 68.39 kB / 0.9466 GB, free: 17.18 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002249/1.158, allocations: 1.223 MB / 0.9478 GB, free: 16.67 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001682/1.159, allocations: 46.39 kB / 0.9479 GB, free: 16.62 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005346/1.159, allocations: 0.6001 MB / 0.9485 GB, free: 16.15 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/1.159, allocations: 212.6 kB / 0.9487 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002826/1.16, allocations: 158.3 kB / 0.9488 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.16, allocations: 333.3 kB / 0.9491 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006887/1.161, allocations: 296.5 kB / 0.9494 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009017/1.161, allocations: 494.4 kB / 0.9499 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/1.163, allocations: 0.7084 MB / 0.9506 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/1.163, allocations: 1.531 kB / 0.9506 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004598/1.168, allocations: 1.273 MB / 0.9518 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/1.168, allocations: 10.97 kB / 0.9518 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/1.168, allocations: 3.375 kB / 0.9518 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006603/1.168, allocations: 133.1 kB / 0.952 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/1.169, allocations: 165.2 kB / 0.9521 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007194/1.17, allocations: 0.6908 MB / 0.9528 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/1.171, allocations: 117.2 kB / 0.9529 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.284e-05/1.171, allocations: 33.91 kB / 0.9529 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001312/1.173, allocations: 0.5592 MB / 0.9535 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008524/1.173, allocations: 489.2 kB / 0.9539 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001437/1.175, allocations: 0.7103 MB / 0.9546 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.712e-06/1.175, allocations: 1.344 kB / 0.9546 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004526/1.179, allocations: 1.263 MB / 0.9559 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/1.179, allocations: 7 kB / 0.9559 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/1.179, allocations: 6.219 kB / 0.9559 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005098/1.18, allocations: 139.5 kB / 0.956 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/1.181, allocations: 159.6 kB / 0.9562 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006736/1.181, allocations: 0.6955 MB / 0.9568 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/1.183, allocations: 104 kB / 0.9569 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/1.183, allocations: 30.95 kB / 0.957 GB, free: 11.63 MB / 0.7169 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.0003015/1.183, allocations: 227.5 kB / 0.9572 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004916/1.184, allocations: 141.9 kB / 0.9573 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004385/1.188, allocations: 1.262 MB / 0.9586 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/1.188, allocations: 5.844 kB / 0.9586 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/1.188, allocations: 0 / 0.9586 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003502/1.192, allocations: 1.101 MB / 0.9596 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007101/1.199, allocations: 2.604 MB / 0.9622 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/1.199, allocations: 9.438 kB / 0.9622 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004621/1.199, allocations: 114.8 kB / 0.9623 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004549/1.2, allocations: 128.9 kB / 0.9624 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.875e-05/1.2, allocations: 20.73 kB / 0.9624 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004347/1.204, allocations: 2.575 MB / 0.965 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.204, allocations: 7.344 kB / 0.965 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004988/1.209, allocations: 1.698 MB / 0.9666 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009195/1.21, allocations: 302.3 kB / 0.9669 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000538/1.211, allocations: 23.88 kB / 0.9669 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/1.212, allocations: 57.81 kB / 0.967 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/1.212, allocations: 62.47 kB / 0.9671 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.29e-05/1.212, allocations: 31.03 kB / 0.9671 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001725/1.214, allocations: 0.8746 MB / 0.9679 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/1.214, allocations: 0 / 0.9679 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003778/1.218, allocations: 0.7202 MB / 0.9686 GB, free: 3.91 MB / 0.7169 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.001701/1.219, allocations: 460.1 kB / 0.9691 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002941/1.222, allocations: 1.12 MB / 0.9702 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.222, allocations: 2.812 kB / 0.9702 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/1.224, allocations: 0.5546 MB / 0.9707 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004398/1.228, allocations: 0.8105 MB / 0.9715 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005412/1.234, allocations: 2.266 MB / 0.9737 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009127/1.235, allocations: 1.167 MB / 0.9749 GB, free: 84 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001497/1.236, allocations: 305.1 kB / 0.9752 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003577/1.236, allocations: 103.3 kB / 0.9753 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of SimCode: time 1.032e-06/1.236, allocations: 0 / 0.9753 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of Templates: time 0.06655/1.303, allocations: 32.43 MB / 1.007 GB, free: 15.74 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)