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.001967/0.001967, allocations: 108 kB / 15.61 MB, free: 152 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.001811/0.001811, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.542/1.542, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.61/1.61, allocations: 251.7 MB / 0.5092 GB, free: 3.105 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.001837/0.001837, allocations: 71.89 kB / 0.6223 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4923/0.4942, allocations: 104.7 MB / 0.7245 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2225/0.7167, allocations: 183.4 MB / 0.9036 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.6528/1.37, allocations: 4.906 MB / 0.9084 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002362/1.372, allocations: 28.16 kB / 0.9085 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001755/1.374, allocations: 432.3 kB / 0.9089 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005791/1.38, allocations: 1.416 MB / 0.9103 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003283/1.383, allocations: 0.7938 MB / 0.911 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004415/1.387, allocations: 1.894 MB / 0.9129 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/1.389, allocations: 0.613 MB / 0.9135 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003424/1.392, allocations: 0.8915 MB / 0.9144 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002297/1.395, allocations: 0.5496 MB / 0.9149 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002387/1.395, allocations: 60.06 kB / 0.9149 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004757/1.4, allocations: 1.411 MB / 0.9163 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006557/1.401, allocations: 269.9 kB / 0.9166 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001086/1.402, allocations: 408.6 kB / 0.917 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004462/1.406, allocations: 1.44 MB / 0.9184 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/1.406, allocations: 0 / 0.9184 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/1.406, allocations: 1.844 kB / 0.9184 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.105e-05/1.406, allocations: 0 / 0.9184 GB, free: 1.707 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.002905/1.409, allocations: 1.11 MB / 0.9195 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.942e-05/1.409, allocations: 12.5 kB / 0.9195 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/1.411, allocations: 208.4 kB / 0.9197 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/1.412, allocations: 0.5754 MB / 0.9202 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.528e-05/1.412, allocations: 43.66 kB / 0.9203 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/1.413, allocations: 47 kB / 0.9203 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/1.414, allocations: 0.4935 MB / 0.9208 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/1.414, allocations: 0.9375 kB / 0.9208 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.947e-05/1.414, allocations: 22.53 kB / 0.9208 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-05/1.414, allocations: 18.55 kB / 0.9208 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009059/1.415, allocations: 439.5 kB / 0.9213 GB, free: 16.68 MB / 0.7325 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.003104/1.418, allocations: 2.033 MB / 0.9233 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006249/1.419, allocations: 342.6 kB / 0.9236 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005045/1.419, allocations: 206.9 kB / 0.9238 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003674/1.42, allocations: 193.5 kB / 0.924 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/1.42, allocations: 42.38 kB / 0.924 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.415e-06/1.42, allocations: 0 / 0.924 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001319/1.421, allocations: 0.5416 MB / 0.9245 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/1.421, allocations: 54.72 kB / 0.9246 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005671/1.422, allocations: 0.5119 MB / 0.9251 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.981e-05/1.422, allocations: 33.16 kB / 0.9251 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/1.422, allocations: 305 kB / 0.9254 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/1.422, allocations: 116.3 kB / 0.9255 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/1.422, allocations: 80.95 kB / 0.9256 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.422, allocations: 362.2 kB / 0.9259 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/1.423, allocations: 140.7 kB / 0.9261 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/1.423, allocations: 221.2 kB / 0.9263 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005407/1.423, allocations: 334.8 kB / 0.9266 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.424, allocations: 1.031 kB / 0.9266 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006983/1.424, allocations: 423.2 kB / 0.927 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/1.424, allocations: 5.5 kB / 0.927 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/1.424, allocations: 4.625 kB / 0.927 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/1.424, allocations: 5.906 kB / 0.927 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/1.425, allocations: 73.95 kB / 0.9271 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.425, allocations: 3.312 kB / 0.9271 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000557/1.425, allocations: 38.39 kB / 0.9271 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/1.425, allocations: 15.91 kB / 0.9271 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004776/1.426, allocations: 309.8 kB / 0.9274 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003057/1.426, allocations: 217 kB / 0.9276 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005182/1.427, allocations: 326.8 kB / 0.928 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/1.427, allocations: 0.875 kB / 0.928 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007374/1.427, allocations: 415.7 kB / 0.9284 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/1.427, allocations: 13.67 kB / 0.9284 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/1.427, allocations: 0 / 0.9284 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.452e-06/1.427, allocations: 7 kB / 0.9284 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/1.428, allocations: 65.41 kB / 0.9284 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/1.428, allocations: 2.375 kB / 0.9284 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005343/1.428, allocations: 34.34 kB / 0.9285 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/1.428, allocations: 14.19 kB / 0.9285 GB, free: 14.14 MB / 0.7325 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.0002245/1.429, allocations: 204.6 kB / 0.9287 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/1.429, allocations: 64.34 kB / 0.9287 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008617/1.43, allocations: 420.6 kB / 0.9291 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.43, allocations: 4.203 kB / 0.9291 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/1.43, allocations: 0.9375 kB / 0.9292 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006151/1.43, allocations: 433 kB / 0.9296 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/1.432, allocations: 1.165 MB / 0.9307 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/1.432, allocations: 3.406 kB / 0.9307 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/1.433, allocations: 86.39 kB / 0.9308 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/1.433, allocations: 4.562 kB / 0.9308 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/1.433, allocations: 9.359 kB / 0.9308 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/1.433, allocations: 8.781 kB / 0.9308 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.433, allocations: 7.141 kB / 0.9308 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/1.434, allocations: 0.7363 MB / 0.9315 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002892/1.434, allocations: 181.4 kB / 0.9317 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-05/1.434, allocations: 10.41 kB / 0.9317 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/1.435, allocations: 29.05 kB / 0.9317 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.82e-05/1.435, allocations: 27.48 kB / 0.9318 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/1.435, allocations: 14.34 kB / 0.9318 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004628/1.435, allocations: 366.8 kB / 0.9321 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.435, allocations: 4.062 kB / 0.9321 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001053/1.436, allocations: 322.1 kB / 0.9324 GB, free: 12.86 MB / 0.7325 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.0005298/1.437, allocations: 191.6 kB / 0.9326 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001141/1.438, allocations: 0.537 MB / 0.9332 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.438, allocations: 2.656 kB / 0.9332 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003038/1.438, allocations: 179.3 kB / 0.9333 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/1.44, allocations: 346.7 kB / 0.9337 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/1.442, allocations: 1.258 MB / 0.9349 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/1.443, allocations: 0.9311 MB / 0.9358 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007424/1.444, allocations: 185 kB / 0.936 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/1.444, allocations: 57.59 kB / 0.936 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/1.444, allocations: 0.5938 kB / 0.936 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of Templates: time 0.02664/1.47, allocations: 11.86 MB / 0.9476 GB, free: 10.85 MB / 0.7325 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)