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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.356/1.356, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009463/0.0009463, allocations: 168.9 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205 MB / 0.5766 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007115/0.0007114, allocations: 90.23 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003185, allocations: 9.906 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2119, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.0526/0.2645, allocations: 74.37 MB / 0.9694 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01896/0.2835, allocations: 12.66 MB / 0.9817 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003116/0.2867, allocations: 59.62 kB / 0.9818 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002629/0.2894, allocations: 0.6682 MB / 0.9824 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007469/0.2969, allocations: 2.254 MB / 0.9846 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004095/0.301, allocations: 1.25 MB / 0.9859 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007412/0.3084, allocations: 5.498 MB / 0.9912 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.3102, allocations: 1.116 MB / 0.9923 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002876/0.3131, allocations: 1.338 MB / 0.9936 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/0.3149, allocations: 1.131 MB / 0.9947 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001625/0.315, allocations: 55.94 kB / 0.9948 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003005/0.318, allocations: 1.239 MB / 0.996 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003317/0.3184, allocations: 290.6 kB / 0.9963 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0008782/0.3193, allocations: 0.7655 MB / 0.997 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003205/0.3225, allocations: 2.702 MB / 0.9997 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.3225, allocations: 0 / 0.9997 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3225, allocations: 0 / 0.9997 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.774e-05/0.3225, allocations: 0 / 0.9997 GB, free: 10.47 MB / 0.6511 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.003059/0.3256, allocations: 1.783 MB / 1.001 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3257, allocations: 8.031 kB / 1.001 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007308/0.3264, allocations: 238.9 kB / 1.002 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/0.3285, allocations: 1.477 MB / 1.003 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.672e-05/0.3286, allocations: 74 kB / 1.003 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.3288, allocations: 108 kB / 1.003 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.3307, allocations: 1.104 MB / 1.004 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.3307, allocations: 0 / 1.004 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.369e-05/0.3308, allocations: 40 kB / 1.004 GB, free: 5.488 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.865e-05/0.3309, allocations: 35.94 kB / 1.004 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.3328, allocations: 0.9174 MB / 1.005 GB, free: 4.531 MB / 0.6511 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.006266/0.339, allocations: 4.911 MB / 1.01 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.3404, allocations: 0.6513 MB / 1.011 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006943/0.3411, allocations: 366.3 kB / 1.011 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006357/0.3418, allocations: 0.8316 MB / 1.012 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.3418, allocations: 39.12 kB / 1.012 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=61): time 2.414e-06/0.3418, allocations: 0 / 1.012 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of matching and sorting (n=61): time 0.00703/0.3489, allocations: 1.888 MB / 1.014 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.3489, allocations: 55.97 kB / 1.014 GB, free: 11.26 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.3505, allocations: 1.202 MB / 1.015 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.381e-05/0.3506, allocations: 41.7 kB / 1.015 GB, free: 9.992 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005228/0.3511, allocations: 0.6064 MB / 1.016 GB, free: 9.379 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.3513, allocations: 216.9 kB / 1.016 GB, free: 9.164 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.327e-05/0.3514, allocations: 61.67 kB / 1.016 GB, free: 9.098 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3516, allocations: 334 kB / 1.016 GB, free: 8.766 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006663/0.3522, allocations: 301.8 kB / 1.017 GB, free: 8.473 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008656/0.3531, allocations: 0.5082 MB / 1.017 GB, free: 7.887 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.3545, allocations: 0.7559 MB / 1.018 GB, free: 7.086 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3545, allocations: 0 / 1.018 GB, free: 7.086 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004678/0.3592, allocations: 1.406 MB / 1.019 GB, free: 5.668 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.3594, allocations: 198.2 kB / 1.019 GB, free: 5.418 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.3594, allocations: 4 kB / 1.019 GB, free: 5.414 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006297/0.3601, allocations: 140.7 kB / 1.019 GB, free: 5.273 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006048/0.3607, allocations: 171.7 kB / 1.02 GB, free: 5.105 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008787/0.3616, allocations: 0.7122 MB / 1.02 GB, free: 4.367 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.3628, allocations: 171 kB / 1.02 GB, free: 4.199 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.653e-05/0.3629, allocations: 35.98 kB / 1.02 GB, free: 4.164 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/0.3629, allocations: 4 kB / 1.021 GB, free: 4.16 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004431/0.3673, allocations: 1.249 MB / 1.022 GB, free: 2.906 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3674, allocations: 4 kB / 1.022 GB, free: 2.902 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005354/0.3679, allocations: 149.1 kB / 1.022 GB, free: 2.754 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005966/0.3685, allocations: 171.7 kB / 1.022 GB, free: 2.586 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008318/0.3693, allocations: 0.7045 MB / 1.023 GB, free: 1.855 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.3707, allocations: 161.9 kB / 1.023 GB, free: 1.699 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.27e-05/0.3708, allocations: 31.98 kB / 1.023 GB, free: 1.668 MB / 0.6667 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.0008193/0.3716, allocations: 420.9 kB / 1.023 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004153/0.372, allocations: 130.4 kB / 1.023 GB, free: 1.117 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004914/0.377, allocations: 1.396 MB / 1.025 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004217/0.3812, allocations: 1.236 MB / 1.026 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.3812, allocations: 4 kB / 1.026 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007525/0.382, allocations: 295.2 kB / 1.026 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003214/0.3823, allocations: 19.88 kB / 1.026 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.3833, allocations: 91.75 kB / 1.026 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.3835, allocations: 52.42 kB / 1.026 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002739/0.3862, allocations: 1.038 MB / 1.027 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002651/0.3889, allocations: 1.397 MB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006645/0.3896, allocations: 352.2 kB / 1.029 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001418/0.391, allocations: 0.8378 MB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of Backend: time 3.31e-07/0.391, allocations: 0 / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004122/0.3951, allocations: 1.407 MB / 1.031 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of SimCode: time 0.006281/0.4014, allocations: 3.576 MB / 1.035 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of Templates: time 0.4438/0.8453, allocations: 31.56 MB / 1.066 GB, free: 143.9 MB / 0.698 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)