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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_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.0009293/0.0009294, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001316/0.001316, allocations: 177.2 kB / 16.27 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.758/1.758, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6582/0.6582, allocations: 95.62 MB / 366.4 MB, free: 10.25 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006137/0.000613, allocations: 12 kB / 447.5 MB, free: 8.988 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4651/0.4657, allocations: 70.33 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.7106/1.176, allocations: 199.1 MB / 0.7001 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00837/1.185, allocations: 3.066 MB / 0.7031 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002132/1.187, allocations: 29.97 kB / 0.7032 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001938/1.189, allocations: 428.1 kB / 0.7036 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005698/1.195, allocations: 1.295 MB / 0.7048 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006226/1.201, allocations: 1.486 MB / 0.7063 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004816/1.206, allocations: 2.927 MB / 0.7091 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/1.208, allocations: 0.563 MB / 0.7097 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002299/1.21, allocations: 0.6891 MB / 0.7104 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00225/1.212, allocations: 0.675 MB / 0.711 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003685/1.213, allocations: 32.69 kB / 0.7111 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006507/1.219, allocations: 2.273 MB / 0.7133 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007741/1.22, allocations: 293.1 kB / 0.7135 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001474/1.221, allocations: 476.2 kB / 0.714 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007183/1.229, allocations: 2.32 MB / 0.7163 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/1.229, allocations: 3.984 kB / 0.7163 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/1.229, allocations: 0 / 0.7163 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.739e-05/1.229, allocations: 0 / 0.7163 GB, free: 2.16 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003702/1.232, allocations: 1.201 MB / 0.7174 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/1.233, allocations: 11.48 kB / 0.7175 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007538/1.233, allocations: 105.7 kB / 0.7176 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/1.235, allocations: 0.696 MB / 0.7182 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.828e-05/1.235, allocations: 43.06 kB / 0.7183 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/1.236, allocations: 58.44 kB / 0.7183 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/1.237, allocations: 0.7049 MB / 0.719 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/1.237, allocations: 0 / 0.719 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.735e-05/1.237, allocations: 29.75 kB / 0.7191 GB, free: 172 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/1.237, allocations: 14.09 kB / 0.7191 GB, free: 172 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/1.239, allocations: 0.7638 MB / 0.7198 GB, free: 15.81 MB / 0.5137 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.006459/1.246, allocations: 2.832 MB / 0.7226 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/1.247, allocations: 477.2 kB / 0.723 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005704/1.248, allocations: 278.9 kB / 0.7233 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/1.249, allocations: 0.8812 MB / 0.7242 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.35e-05/1.249, allocations: 48.81 kB / 0.7242 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 3.246e-06/1.249, allocations: 0 / 0.7242 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=54): time 0.006533/1.255, allocations: 2.084 MB / 0.7262 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/1.256, allocations: 55.84 kB / 0.7263 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/1.257, allocations: 0.6682 MB / 0.7269 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/1.257, allocations: 37.7 kB / 0.727 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/1.257, allocations: 352.6 kB / 0.7273 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/1.257, allocations: 188.1 kB / 0.7275 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/1.257, allocations: 49.64 kB / 0.7275 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002216/1.258, allocations: 386.8 kB / 0.7279 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005094/1.258, allocations: 249 kB / 0.7281 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005694/1.259, allocations: 346.4 kB / 0.7285 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01177/1.27, allocations: 2.449 MB / 0.7309 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/1.271, allocations: 0 / 0.7309 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001588/1.272, allocations: 0.7255 MB / 0.7316 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001493/1.272, allocations: 149.8 kB / 0.7317 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.272, allocations: 4 kB / 0.7317 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/1.272, allocations: 4 kB / 0.7317 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007226/1.273, allocations: 151.8 kB / 0.7319 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-05/1.273, allocations: 8 kB / 0.7319 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009103/1.274, allocations: 63.8 kB / 0.7319 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.419e-05/1.274, allocations: 23.98 kB / 0.732 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/1.274, allocations: 4 kB / 0.732 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001228/1.275, allocations: 0.6331 MB / 0.7326 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.275, allocations: 7.938 kB / 0.7326 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/1.275, allocations: 4 kB / 0.7326 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006895/1.276, allocations: 152 kB / 0.7327 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/1.276, allocations: 7.938 kB / 0.7328 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007572/1.277, allocations: 63.86 kB / 0.7328 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-05/1.277, allocations: 23.98 kB / 0.7328 GB, free: 3.418 MB / 0.5137 GB Warning: Assuming fixed start value for the following 3 variables: del.dynBal.medium.p:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) max = min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, 100000000.0)))))) start = del.dynBal.p_start unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real del.dynBal.medium.Xi[1]:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))))) max = min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, 1.0))))))))))) start = del.dynBal.X_start[1] unit = "1" fixed = true nominal = 0.1 stateSelect=StateSelect.prefer protected = true ) "Structurally independent mass fractions" type: Real [1] del.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = del.dynBal.T_start unit = "K" fixed = true nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (68): * Single equations (assignments): 68 * 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.0008649/1.278, allocations: 415 kB / 0.7332 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003705/1.278, allocations: 75.06 kB / 0.7333 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/1.28, allocations: 0.7368 MB / 0.734 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/1.28, allocations: 7.984 kB / 0.734 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.28, allocations: 0 / 0.734 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/1.28, allocations: 0 / 0.734 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003424/1.283, allocations: 1.585 MB / 0.7356 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/1.283, allocations: 0 / 0.7356 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007147/1.284, allocations: 135.9 kB / 0.7357 GB, free: 408 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-05/1.284, allocations: 4 kB / 0.7357 GB, free: 404 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-05/1.284, allocations: 19.98 kB / 0.7357 GB, free: 384 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/1.284, allocations: 4 kB / 0.7357 GB, free: 380 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.284, allocations: 0 / 0.7357 GB, free: 380 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/1.286, allocations: 1.069 MB / 0.7368 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000516/1.287, allocations: 240.1 kB / 0.737 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/1.287, allocations: 12 kB / 0.737 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000705/1.288, allocations: 55.86 kB / 0.7371 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/1.288, allocations: 40.38 kB / 0.7371 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.698e-05/1.288, allocations: 31.92 kB / 0.7371 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007957/1.289, allocations: 495 kB / 0.7376 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/1.289, allocations: 0 / 0.7376 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002026/1.291, allocations: 0.5388 MB / 0.7381 GB, free: 13.86 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (del.dynBal.medium.p,del.dynBal.medium.Xi[1],del.dynBal.medium.T) * 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 (58): * Single equations (assignments): 58 * 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.001596/1.293, allocations: 0.5018 MB / 0.7386 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001877/1.294, allocations: 0.9363 MB / 0.7395 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.294, allocations: 0 / 0.7395 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005316/1.295, allocations: 314.3 kB / 0.7398 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/1.297, allocations: 452.5 kB / 0.7403 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003992/1.301, allocations: 2.019 MB / 0.7422 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007674/1.302, allocations: 0.983 MB / 0.7432 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00118/1.303, allocations: 258.5 kB / 0.7435 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/1.304, allocations: 71.42 kB / 0.7435 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of SimCode: time 8.12e-07/1.304, allocations: 0 / 0.7435 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of Templates: time 0.0406/1.344, allocations: 20.22 MB / 0.7633 GB, free: 4.246 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: