Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001145/0.001145, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.856/2.856, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.31 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3936, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.204/0.5976, allocations: 183.3 MB / 1.247 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6662/1.264, allocations: 4.848 MB / 1.252 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/1.265, allocations: 32.97 kB / 1.252 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/1.267, allocations: 439.8 kB / 1.252 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004169/1.271, allocations: 1.411 MB / 1.254 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002714/1.274, allocations: 0.7763 MB / 1.254 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003545/1.277, allocations: 1.847 MB / 1.256 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/1.278, allocations: 0.5876 MB / 1.257 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002448/1.281, allocations: 0.8683 MB / 1.258 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/1.282, allocations: 0.5458 MB / 1.258 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001486/1.282, allocations: 58.47 kB / 1.258 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003186/1.285, allocations: 1.411 MB / 1.26 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003875/1.286, allocations: 263.8 kB / 1.26 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006145/1.287, allocations: 402.8 kB / 1.26 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002885/1.289, allocations: 1.399 MB / 1.262 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/1.289, allocations: 0 / 1.262 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.508e-06/1.289, allocations: 2 kB / 1.262 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.263e-05/1.289, allocations: 2.25 kB / 1.262 GB, free: 5.555 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.002192/1.292, allocations: 1.101 MB / 1.263 GB, free: 20.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.292, allocations: 11.31 kB / 1.263 GB, free: 20.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/1.293, allocations: 209.5 kB / 1.263 GB, free: 20.85 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/1.294, allocations: 0.5824 MB / 1.264 GB, free: 20.56 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/1.294, allocations: 38.75 kB / 1.264 GB, free: 20.56 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.693e-05/1.294, allocations: 48.75 kB / 1.264 GB, free: 20.56 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009232/1.295, allocations: 497.2 kB / 1.264 GB, free: 20.53 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/1.295, allocations: 3.188 kB / 1.264 GB, free: 20.53 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.136e-05/1.295, allocations: 21.34 kB / 1.264 GB, free: 20.53 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/1.295, allocations: 19.67 kB / 1.264 GB, free: 20.53 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007628/1.296, allocations: 442.1 kB / 1.265 GB, free: 20.53 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.002745/1.299, allocations: 2.021 MB / 1.267 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006309/1.299, allocations: 345.1 kB / 1.267 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003655/1.3, allocations: 212.3 kB / 1.267 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004009/1.3, allocations: 193.7 kB / 1.267 GB, free: 19.33 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/1.3, allocations: 38.59 kB / 1.267 GB, free: 19.29 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.145e-06/1.3, allocations: 0.9062 kB / 1.267 GB, free: 19.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.001313/1.302, allocations: 0.5411 MB / 1.268 GB, free: 19.22 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/1.302, allocations: 63.59 kB / 1.268 GB, free: 19.15 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006773/1.302, allocations: 0.5081 MB / 1.268 GB, free: 19.03 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.358e-05/1.302, allocations: 33.95 kB / 1.268 GB, free: 19 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/1.303, allocations: 301.4 kB / 1.269 GB, free: 18.86 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/1.303, allocations: 117.9 kB / 1.269 GB, free: 18.79 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/1.303, allocations: 69.69 kB / 1.269 GB, free: 18.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000183/1.303, allocations: 364.7 kB / 1.269 GB, free: 18.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/1.303, allocations: 142.4 kB / 1.269 GB, free: 18.45 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/1.304, allocations: 220.2 kB / 1.27 GB, free: 18.38 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005953/1.304, allocations: 336.7 kB / 1.27 GB, free: 18.35 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/1.304, allocations: 2.188 kB / 1.27 GB, free: 18.35 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008129/1.305, allocations: 433.5 kB / 1.27 GB, free: 18.29 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/1.305, allocations: 11.41 kB / 1.27 GB, free: 18.28 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.305, allocations: 0.5156 kB / 1.27 GB, free: 18.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/1.305, allocations: 3.656 kB / 1.27 GB, free: 18.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/1.306, allocations: 74.66 kB / 1.27 GB, free: 18.28 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/1.306, allocations: 3.828 kB / 1.27 GB, free: 18.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005227/1.306, allocations: 40.78 kB / 1.27 GB, free: 18.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/1.306, allocations: 14.23 kB / 1.27 GB, free: 18.27 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005544/1.307, allocations: 307 kB / 1.271 GB, free: 18.18 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003555/1.307, allocations: 209.8 kB / 1.271 GB, free: 18.12 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005876/1.308, allocations: 335.6 kB / 1.271 GB, free: 18.08 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-06/1.308, allocations: 0 / 1.271 GB, free: 18.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007296/1.309, allocations: 428.6 kB / 1.272 GB, free: 18.01 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/1.309, allocations: 6.062 kB / 1.272 GB, free: 18.01 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-06/1.309, allocations: 1.625 kB / 1.272 GB, free: 18.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/1.309, allocations: 8.359 kB / 1.272 GB, free: 18.01 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/1.309, allocations: 72.36 kB / 1.272 GB, free: 18.01 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/1.309, allocations: 5.5 kB / 1.272 GB, free: 18.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/1.309, allocations: 31.89 kB / 1.272 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/1.309, allocations: 13.75 kB / 1.272 GB, free: 18 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.0001874/1.31, allocations: 199 kB / 1.272 GB, free: 17.82 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/1.31, allocations: 60.34 kB / 1.272 GB, free: 17.79 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009159/1.311, allocations: 419.6 kB / 1.272 GB, free: 17.74 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/1.311, allocations: 4.25 kB / 1.272 GB, free: 17.74 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.311, allocations: 1.672 kB / 1.272 GB, free: 17.74 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007557/1.311, allocations: 436.6 kB / 1.273 GB, free: 17.57 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/1.314, allocations: 1.177 MB / 1.274 GB, free: 17.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.314, allocations: 3.281 kB / 1.274 GB, free: 17.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/1.314, allocations: 84.12 kB / 1.274 GB, free: 17.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/1.314, allocations: 5.188 kB / 1.274 GB, free: 17.21 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/1.314, allocations: 13.14 kB / 1.274 GB, free: 17.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/1.314, allocations: 3.562 kB / 1.274 GB, free: 17.21 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/1.314, allocations: 5.828 kB / 1.274 GB, free: 17.21 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/1.316, allocations: 0.6952 MB / 1.275 GB, free: 17 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/1.316, allocations: 181.6 kB / 1.275 GB, free: 16.87 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/1.316, allocations: 12.2 kB / 1.275 GB, free: 16.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000503/1.316, allocations: 31.25 kB / 1.275 GB, free: 16.87 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.527e-05/1.317, allocations: 27.33 kB / 1.275 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.375e-05/1.317, allocations: 16.19 kB / 1.275 GB, free: 16.86 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006708/1.317, allocations: 362.1 kB / 1.275 GB, free: 16.78 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.5e-07/1.317, allocations: 0.9062 kB / 1.275 GB, free: 16.78 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001276/1.319, allocations: 321.7 kB / 1.276 GB, free: 16.74 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.0005255/1.319, allocations: 200.3 kB / 1.276 GB, free: 16.63 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001188/1.32, allocations: 0.552 MB / 1.276 GB, free: 16.62 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.32, allocations: 0 / 1.276 GB, free: 16.62 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003395/1.321, allocations: 184.2 kB / 1.277 GB, free: 16.62 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/1.323, allocations: 359.2 kB / 1.277 GB, free: 16.58 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/1.325, allocations: 1.259 MB / 1.278 GB, free: 16.06 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006578/1.325, allocations: 0.9345 MB / 1.279 GB, free: 15.36 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007993/1.326, allocations: 185.1 kB / 1.279 GB, free: 15.34 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/1.326, allocations: 46.8 kB / 1.279 GB, free: 15.33 MB / 1.014 GB Notification: Performance of SimCode: time 9.72e-07/1.326, allocations: 2.344 kB / 1.279 GB, free: 15.33 MB / 1.014 GB Notification: Performance of Templates: time 0.02757/1.354, allocations: 11.68 MB / 1.291 GB, free: 14.71 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)