Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.005206/0.005206, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001141/0.001141, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.505/1.505, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.423/1.423, allocations: 251.7 MB / 0.5094 GB, free: 400 kB / 430.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.001451/0.001451, allocations: 75.88 kB / 0.7258 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6484/0.6499, allocations: 104.7 MB / 0.828 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1988/0.8487, allocations: 183.5 MB / 1.007 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007859/0.8566, allocations: 4.915 MB / 1.012 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.8577, allocations: 27.88 kB / 1.012 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.859, allocations: 445.3 kB / 1.012 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.003581/0.8626, allocations: 1.476 MB / 1.014 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00216/0.8648, allocations: 0.8053 MB / 1.015 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002718/0.8675, allocations: 1.905 MB / 1.017 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008351/0.8683, allocations: 0.6057 MB / 1.017 GB, free: 404 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/0.8704, allocations: 0.9223 MB / 1.018 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.8715, allocations: 0.5434 MB / 1.019 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.046e-05/0.8716, allocations: 60 kB / 1.019 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002769/0.8744, allocations: 1.422 MB / 1.02 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003058/0.8747, allocations: 271.3 kB / 1.02 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004621/0.8752, allocations: 418 kB / 1.021 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002489/0.8777, allocations: 1.443 MB / 1.022 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.8777, allocations: 0 / 1.022 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8777, allocations: 0 / 1.022 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.715e-05/0.8777, allocations: 4 kB / 1.022 GB, free: 11.32 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001943/0.8797, allocations: 1.102 MB / 1.023 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.8797, allocations: 12.03 kB / 1.023 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.8811, allocations: 218.8 kB / 1.023 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009031/0.882, allocations: 0.6237 MB / 1.024 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.882, allocations: 33 kB / 1.024 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.962e-05/0.8821, allocations: 48 kB / 1.024 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008634/0.883, allocations: 0.4945 MB / 1.025 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.883, allocations: 0 / 1.025 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.041e-05/0.8831, allocations: 20 kB / 1.025 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.8831, allocations: 17 kB / 1.025 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007527/0.8839, allocations: 443.7 kB / 1.025 GB, free: 8.223 MB / 0.8262 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.002431/0.8863, allocations: 2.006 MB / 1.027 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000532/0.8868, allocations: 343.7 kB / 1.027 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.8872, allocations: 209.3 kB / 1.027 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/0.8875, allocations: 190.5 kB / 1.028 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.8875, allocations: 38.84 kB / 1.028 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.8875, allocations: 0 / 1.028 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.001178/0.8887, allocations: 0.5348 MB / 1.028 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.8887, allocations: 67.33 kB / 1.028 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005659/0.8893, allocations: 0.5069 MB / 1.029 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.8894, allocations: 37.7 kB / 1.029 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.8896, allocations: 296.2 kB / 1.029 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.8897, allocations: 126.2 kB / 1.029 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.8898, allocations: 73.88 kB / 1.029 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.89, allocations: 362.8 kB / 1.03 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.8902, allocations: 146.1 kB / 1.03 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/0.8906, allocations: 216.5 kB / 1.03 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/0.8911, allocations: 336 kB / 1.03 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.8911, allocations: 0 / 1.03 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006775/0.8918, allocations: 424.5 kB / 1.031 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.8918, allocations: 11.94 kB / 1.031 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.8918, allocations: 96 / 1.031 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.8919, allocations: 7.938 kB / 1.031 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.8922, allocations: 67.91 kB / 1.031 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.8922, allocations: 4 kB / 1.031 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004219/0.8927, allocations: 39.72 kB / 1.031 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.8927, allocations: 15.94 kB / 1.031 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004307/0.8931, allocations: 300 kB / 1.031 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002871/0.8934, allocations: 215.6 kB / 1.031 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004919/0.8939, allocations: 335.3 kB / 1.032 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/0.8939, allocations: 0 / 1.032 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006255/0.8946, allocations: 416.5 kB / 1.032 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.333e-06/0.8946, allocations: 7.938 kB / 1.032 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-06/0.8946, allocations: 160 / 1.032 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.408e-06/0.8946, allocations: 4 kB / 1.032 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.8949, allocations: 71.94 kB / 1.032 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.8949, allocations: 11.98 kB / 1.032 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000386/0.8953, allocations: 43.66 kB / 1.032 GB, free: 484 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.8953, allocations: 12 kB / 1.032 GB, free: 472 kB / 0.8262 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.0001357/0.8955, allocations: 196.2 kB / 1.032 GB, free: 268 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.99e-05/0.8956, allocations: 63.33 kB / 1.032 GB, free: 204 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007275/0.8963, allocations: 419.2 kB / 1.033 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.8963, allocations: 4 kB / 1.033 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.8964, allocations: 4 kB / 1.033 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005598/0.8969, allocations: 428.2 kB / 1.033 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.8986, allocations: 1.176 MB / 1.034 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.8986, allocations: 4 kB / 1.034 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000413/0.899, allocations: 83.83 kB / 1.034 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.899, allocations: 4 kB / 1.034 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.8991, allocations: 12 kB / 1.034 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.8991, allocations: 8.188 kB / 1.034 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8991, allocations: 0 / 1.034 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009675/0.9001, allocations: 0.7304 MB / 1.035 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/0.9003, allocations: 180.4 kB / 1.035 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.165e-05/0.9004, allocations: 8 kB / 1.035 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.9008, allocations: 27.09 kB / 1.035 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/0.9009, allocations: 31.91 kB / 1.035 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.9009, allocations: 16 kB / 1.035 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003865/0.9013, allocations: 366.8 kB / 1.036 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9013, allocations: 0 / 1.036 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008058/0.9021, allocations: 327.1 kB / 1.036 GB, free: 12.25 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * 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.0004294/0.9025, allocations: 193.5 kB / 1.036 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008924/0.9034, allocations: 0.5115 MB / 1.037 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.9035, allocations: 0 / 1.037 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.9038, allocations: 175.8 kB / 1.037 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.9051, allocations: 352.8 kB / 1.037 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.907, allocations: 1.236 MB / 1.039 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.9075, allocations: 0.9373 MB / 1.039 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005076/0.908, allocations: 180.8 kB / 1.04 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.9081, allocations: 47.44 kB / 1.04 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of SimCode: time 3e-07/0.9081, allocations: 4 kB / 1.04 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of Templates: time 0.01955/0.9277, allocations: 11.94 MB / 1.051 GB, free: 12.83 MB / 0.8575 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)