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.001232/0.001232, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001668/0.001668, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.4 MB / 222.1 MB, free: 5.621 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.6/1.6, allocations: 252 MB / 0.5102 GB, free: 4.816 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.0005597/0.0005598, allocations: 16 kB / 0.6243 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5671/0.5677, allocations: 106.3 MB / 0.7281 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1874/0.7552, allocations: 166.8 MB / 0.8911 GB, free: 4.121 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007741/0.7629, allocations: 4.613 MB / 0.8956 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009751/0.764, allocations: 23.81 kB / 0.8956 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.765, allocations: 294.1 kB / 0.8959 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003022/0.7681, allocations: 1.038 MB / 0.8969 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.7701, allocations: 0.6194 MB / 0.8975 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002968/0.7731, allocations: 2.191 MB / 0.8996 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007465/0.7739, allocations: 462.4 kB / 0.9001 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.7756, allocations: 0.739 MB / 0.9008 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009239/0.7765, allocations: 0.5252 MB / 0.9013 GB, free: 9.609 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.202e-05/0.7766, allocations: 24 kB / 0.9013 GB, free: 9.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/0.779, allocations: 0.8691 MB / 0.9022 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002993/0.7793, allocations: 231.2 kB / 0.9024 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.7795, allocations: 173.3 kB / 0.9026 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.7809, allocations: 0.9781 MB / 0.9035 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7809, allocations: 0 / 0.9035 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7809, allocations: 0 / 0.9035 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.7809, allocations: 0 / 0.9035 GB, free: 7.332 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001683/0.7826, allocations: 0.9734 MB / 0.9045 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.7827, allocations: 8.031 kB / 0.9045 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.784, allocations: 206.9 kB / 0.9047 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009552/0.785, allocations: 0.5619 MB / 0.9052 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.785, allocations: 40.95 kB / 0.9053 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.191e-05/0.7851, allocations: 55.94 kB / 0.9053 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000955/0.7861, allocations: 0.4944 MB / 0.9058 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.7861, allocations: 0 / 0.9058 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.7862, allocations: 23.98 kB / 0.9058 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.281e-05/0.7862, allocations: 21 kB / 0.9058 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009046/0.7871, allocations: 447.7 kB / 0.9063 GB, free: 4.414 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.003082/0.7902, allocations: 2.017 MB / 0.9082 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/0.7908, allocations: 345.6 kB / 0.9086 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003276/0.7911, allocations: 205.3 kB / 0.9088 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003108/0.7915, allocations: 198.5 kB / 0.909 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.7915, allocations: 38.84 kB / 0.909 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 2.525e-06/0.7915, allocations: 0 / 0.909 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.001252/0.7928, allocations: 0.5596 MB / 0.9095 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.7928, allocations: 55.41 kB / 0.9096 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005636/0.7934, allocations: 0.4991 MB / 0.9101 GB, free: 260 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.7935, allocations: 33.7 kB / 0.9101 GB, free: 220 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.5156/1.309, allocations: 300.2 kB / 0.9104 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000339/1.309, allocations: 121.1 kB / 0.9105 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/1.31, allocations: 6.188 kB / 0.9105 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0003233/1.31, allocations: 364.8 kB / 0.9109 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005366/1.31, allocations: 133.2 kB / 0.911 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005905/1.311, allocations: 225.7 kB / 0.9112 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005184/1.312, allocations: 158.5 kB / 0.9114 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.312, allocations: 1.031 kB / 0.9114 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001462/1.313, allocations: 436.2 kB / 0.9118 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.000111/1.313, allocations: 118.6 kB / 0.9119 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/1.313, allocations: 1.328 kB / 0.9119 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.725e-05/1.313, allocations: 2.938 kB / 0.9119 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005005/1.314, allocations: 78.27 kB / 0.912 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/1.314, allocations: 2.969 kB / 0.912 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006942/1.314, allocations: 62.56 kB / 0.912 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.235e-05/1.315, allocations: 14.2 kB / 0.912 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/1.315, allocations: 3.844 kB / 0.912 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000844/1.315, allocations: 347.3 kB / 0.9124 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/1.315, allocations: 5.953 kB / 0.9124 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.662e-06/1.315, allocations: 2.812 kB / 0.9124 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/1.316, allocations: 72.47 kB / 0.9125 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/1.316, allocations: 7.594 kB / 0.9125 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/1.316, allocations: 61.72 kB / 0.9125 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/1.316, allocations: 12.73 kB / 0.9125 GB, free: 182.2 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004644/1.317, allocations: 295.5 kB / 0.9128 GB, free: 182 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/1.317, allocations: 63.98 kB / 0.9129 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009479/1.318, allocations: 422.4 kB / 0.9133 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/1.318, allocations: 4.156 kB / 0.9133 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/1.318, allocations: 0 / 0.9133 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006798/1.319, allocations: 441.9 kB / 0.9137 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/1.321, allocations: 1.18 MB / 0.9149 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/1.321, allocations: 1.719 kB / 0.9149 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005529/1.322, allocations: 92.22 kB / 0.9149 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/1.322, allocations: 7.016 kB / 0.915 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.096e-05/1.322, allocations: 13.61 kB / 0.915 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.059e-05/1.322, allocations: 11.84 kB / 0.915 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/1.322, allocations: 4.312 kB / 0.915 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/1.323, allocations: 0.7382 MB / 0.9157 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/1.324, allocations: 182.5 kB / 0.9159 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.152e-05/1.324, allocations: 12.03 kB / 0.9159 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00055/1.324, allocations: 54.7 kB / 0.9159 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.432e-05/1.324, allocations: 24.91 kB / 0.916 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/1.325, allocations: 12.02 kB / 0.916 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006469/1.325, allocations: 366.1 kB / 0.9163 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.81e-07/1.325, allocations: 0 / 0.9163 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00127/1.326, allocations: 330.2 kB / 0.9166 GB, free: 180 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005038/1.327, allocations: 190.1 kB / 0.9168 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001225/1.328, allocations: 0.515 MB / 0.9173 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/1.328, allocations: 1 kB / 0.9173 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003664/1.329, allocations: 183.7 kB / 0.9175 GB, free: 179.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/1.331, allocations: 369.3 kB / 0.9178 GB, free: 179.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/1.333, allocations: 1.562 MB / 0.9194 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/1.334, allocations: 0.932 MB / 0.9203 GB, free: 178 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008571/1.335, allocations: 184.2 kB / 0.9205 GB, free: 178 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/1.335, allocations: 47.55 kB / 0.9205 GB, free: 178 MB / 0.7169 GB Notification: Performance of SimCode: time 1.653e-06/1.335, allocations: 0 / 0.9205 GB, free: 178 MB / 0.7169 GB Notification: Performance of Templates: time 0.0198/1.355, allocations: 11.1 MB / 0.9313 GB, free: 171.7 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: