Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001233/0.001233, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.453/1.453, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.885/2.885, allocations: 472.6 MB / 0.7447 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.48 kB / 0.9113 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3604, allocations: 159.9 MB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2062/0.5667, allocations: 181 MB / 1.244 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008253/0.575, allocations: 4.934 MB / 1.249 GB, free: 336 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.5762, allocations: 23.81 kB / 1.249 GB, free: 312 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.7348/1.311, allocations: 377.1 kB / 1.249 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004324/1.315, allocations: 1.321 MB / 1.251 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002271/1.318, allocations: 0.6964 MB / 1.251 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003973/1.322, allocations: 2.532 MB / 1.254 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009342/1.323, allocations: 0.5052 MB / 1.254 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/1.325, allocations: 0.7811 MB / 1.255 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/1.326, allocations: 0.5608 MB / 1.256 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/1.326, allocations: 34.12 kB / 1.256 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003596/1.33, allocations: 1.61 MB / 1.257 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003838/1.33, allocations: 234.5 kB / 1.258 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005942/1.331, allocations: 371.4 kB / 1.258 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002782/1.334, allocations: 1.461 MB / 1.259 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/1.334, allocations: 8.125 kB / 1.259 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.933e-06/1.334, allocations: 0 / 1.259 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.147e-05/1.334, allocations: 1.094 kB / 1.259 GB, free: 5.539 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002266/1.336, allocations: 1.102 MB / 1.26 GB, free: 20.88 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/1.336, allocations: 8.5 kB / 1.26 GB, free: 20.88 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/1.338, allocations: 212.3 kB / 1.261 GB, free: 20.83 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009433/1.339, allocations: 0.5763 MB / 1.261 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/1.339, allocations: 35.64 kB / 1.261 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.895e-05/1.339, allocations: 56.69 kB / 1.261 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009971/1.34, allocations: 496.4 kB / 1.262 GB, free: 20.51 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/1.34, allocations: 0 / 1.262 GB, free: 20.51 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.163e-05/1.34, allocations: 19.59 kB / 1.262 GB, free: 20.51 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/1.34, allocations: 18.05 kB / 1.262 GB, free: 20.51 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009175/1.341, allocations: 439.9 kB / 1.262 GB, free: 20.5 MB / 1.014 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.003059/1.344, allocations: 2.01 MB / 1.264 GB, free: 19.51 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000723/1.345, allocations: 350.2 kB / 1.265 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004014/1.345, allocations: 210.9 kB / 1.265 GB, free: 19.47 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000383/1.345, allocations: 193.6 kB / 1.265 GB, free: 19.29 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/1.345, allocations: 39.77 kB / 1.265 GB, free: 19.24 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.773e-06/1.345, allocations: 0 / 1.265 GB, free: 19.24 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.001414/1.347, allocations: 0.5354 MB / 1.265 GB, free: 19.18 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/1.347, allocations: 63.91 kB / 1.266 GB, free: 19.11 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006909/1.348, allocations: 0.5105 MB / 1.266 GB, free: 18.99 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.769e-05/1.348, allocations: 34.98 kB / 1.266 GB, free: 18.95 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/1.348, allocations: 305.4 kB / 1.266 GB, free: 18.81 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/1.348, allocations: 116.8 kB / 1.266 GB, free: 18.74 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/1.348, allocations: 66.59 kB / 1.267 GB, free: 18.72 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001666/1.348, allocations: 365.3 kB / 1.267 GB, free: 18.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/1.349, allocations: 142.3 kB / 1.267 GB, free: 18.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/1.349, allocations: 221.2 kB / 1.267 GB, free: 18.33 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/1.35, allocations: 337.4 kB / 1.268 GB, free: 18.29 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.35, allocations: 2.906 kB / 1.268 GB, free: 18.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007518/1.35, allocations: 429.1 kB / 1.268 GB, free: 18.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/1.35, allocations: 5.219 kB / 1.268 GB, free: 18.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.35, allocations: 6.734 kB / 1.268 GB, free: 18.22 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/1.35, allocations: 3.406 kB / 1.268 GB, free: 18.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/1.351, allocations: 78.05 kB / 1.268 GB, free: 18.22 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/1.351, allocations: 3.844 kB / 1.268 GB, free: 18.22 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000657/1.351, allocations: 61.92 kB / 1.268 GB, free: 18.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/1.352, allocations: 14.38 kB / 1.268 GB, free: 18.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000713/1.352, allocations: 304.9 kB / 1.268 GB, free: 18.12 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004507/1.353, allocations: 208.5 kB / 1.269 GB, free: 18.05 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007765/1.353, allocations: 329.8 kB / 1.269 GB, free: 18.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.899e-06/1.354, allocations: 1.375 kB / 1.269 GB, free: 18.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0009723/1.354, allocations: 434.4 kB / 1.269 GB, free: 17.94 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/1.355, allocations: 5.531 kB / 1.269 GB, free: 17.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/1.355, allocations: 1.312 kB / 1.269 GB, free: 17.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/1.355, allocations: 7.703 kB / 1.269 GB, free: 17.94 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/1.355, allocations: 73.14 kB / 1.269 GB, free: 17.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/1.355, allocations: 3.328 kB / 1.269 GB, free: 17.94 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006192/1.356, allocations: 58.97 kB / 1.269 GB, free: 17.92 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/1.356, allocations: 13.45 kB / 1.269 GB, free: 17.92 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002195/1.356, allocations: 202.6 kB / 1.27 GB, free: 17.74 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/1.356, allocations: 61.36 kB / 1.27 GB, free: 17.71 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008562/1.357, allocations: 423.9 kB / 1.27 GB, free: 17.66 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/1.357, allocations: 4.562 kB / 1.27 GB, free: 17.66 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.357, allocations: 1.219 kB / 1.27 GB, free: 17.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000698/1.358, allocations: 441 kB / 1.271 GB, free: 17.49 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/1.36, allocations: 1.173 MB / 1.272 GB, free: 17.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.36, allocations: 2.375 kB / 1.272 GB, free: 17.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005025/1.36, allocations: 87.47 kB / 1.272 GB, free: 17.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/1.36, allocations: 3.25 kB / 1.272 GB, free: 17.12 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/1.36, allocations: 8.422 kB / 1.272 GB, free: 17.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.179e-05/1.36, allocations: 7 kB / 1.272 GB, free: 17.12 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.36, allocations: 3.234 kB / 1.272 GB, free: 17.12 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/1.362, allocations: 0.6961 MB / 1.272 GB, free: 16.91 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003053/1.362, allocations: 180.6 kB / 1.273 GB, free: 16.78 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.437e-05/1.362, allocations: 9.422 kB / 1.273 GB, free: 16.78 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005533/1.363, allocations: 43.94 kB / 1.273 GB, free: 16.77 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.75e-05/1.363, allocations: 26.81 kB / 1.273 GB, free: 16.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-05/1.363, allocations: 21.45 kB / 1.273 GB, free: 16.77 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006561/1.364, allocations: 364.8 kB / 1.273 GB, free: 16.68 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.364, allocations: 0.5312 kB / 1.273 GB, free: 16.68 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001442/1.365, allocations: 326.4 kB / 1.273 GB, free: 16.63 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005804/1.366, allocations: 200.9 kB / 1.274 GB, free: 16.53 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001249/1.367, allocations: 0.5161 MB / 1.274 GB, free: 16.52 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/1.367, allocations: 0 / 1.274 GB, free: 16.52 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004204/1.367, allocations: 179.5 kB / 1.274 GB, free: 16.52 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/1.369, allocations: 371.3 kB / 1.275 GB, free: 16.49 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/1.372, allocations: 1.482 MB / 1.276 GB, free: 15.66 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006126/1.373, allocations: 0.9312 MB / 1.277 GB, free: 14.96 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007843/1.373, allocations: 184.1 kB / 1.277 GB, free: 14.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/1.373, allocations: 50.8 kB / 1.277 GB, free: 14.92 MB / 1.014 GB Notification: Performance of SimCode: time 7.62e-07/1.373, allocations: 1.062 kB / 1.277 GB, free: 14.92 MB / 1.014 GB Notification: Performance of Templates: time 0.023/1.396, allocations: 11.34 MB / 1.288 GB, free: 14.25 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)