Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.699/1.699, allocations: 288.4 MB / 303.3 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 181.5 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007703/0.0007704, allocations: 90.3 kB / 0.744 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004216/0.0004216, allocations: 11.09 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2618, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.7605/1.022, allocations: 166.6 MB / 1.142 GB, free: 13.46 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00854/1.031, allocations: 4.53 MB / 1.147 GB, free: 12.1 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/1.032, allocations: 28.59 kB / 1.147 GB, free: 12.08 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/1.034, allocations: 289.4 kB / 1.147 GB, free: 11.96 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003771/1.037, allocations: 1.028 MB / 1.148 GB, free: 11.38 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002131/1.04, allocations: 0.602 MB / 1.149 GB, free: 11.11 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003074/1.043, allocations: 2.13 MB / 1.151 GB, free: 10.34 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008633/1.044, allocations: 442.2 kB / 1.151 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001865/1.045, allocations: 0.7174 MB / 1.152 GB, free: 9.816 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009405/1.046, allocations: 0.5143 MB / 1.152 GB, free: 9.582 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.456e-05/1.046, allocations: 25 kB / 1.152 GB, free: 9.582 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002616/1.049, allocations: 0.8668 MB / 1.153 GB, free: 9.277 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003943/1.049, allocations: 223.4 kB / 1.153 GB, free: 9.176 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003948/1.05, allocations: 167.3 kB / 1.154 GB, free: 9.121 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001728/1.052, allocations: 0.9545 MB / 1.155 GB, free: 8.613 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.052, allocations: 5.062 kB / 1.155 GB, free: 8.609 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.485e-06/1.052, allocations: 0 / 1.155 GB, free: 8.609 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.552e-05/1.052, allocations: 0 / 1.155 GB, free: 8.609 MB / 0.698 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.001924/1.054, allocations: 0.9793 MB / 1.156 GB, free: 7.863 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/1.054, allocations: 8.875 kB / 1.156 GB, free: 7.863 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/1.054, allocations: 92.02 kB / 1.156 GB, free: 7.809 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/1.055, allocations: 204.5 kB / 1.156 GB, free: 7.727 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/1.056, allocations: 0.5595 MB / 1.156 GB, free: 7.348 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/1.056, allocations: 34.5 kB / 1.156 GB, free: 7.348 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.85e-05/1.056, allocations: 49.59 kB / 1.156 GB, free: 7.348 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/1.057, allocations: 0.4906 MB / 1.157 GB, free: 7.207 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/1.057, allocations: 1.344 kB / 1.157 GB, free: 7.207 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.341e-05/1.057, allocations: 18.78 kB / 1.157 GB, free: 7.207 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/1.058, allocations: 20.34 kB / 1.157 GB, free: 7.199 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008438/1.058, allocations: 438 kB / 1.157 GB, free: 7.098 MB / 0.698 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.003121/1.062, allocations: 2.006 MB / 1.159 GB, free: 5.375 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006168/1.062, allocations: 351 kB / 1.16 GB, free: 5.188 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003773/1.063, allocations: 215.3 kB / 1.16 GB, free: 5.082 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000326/1.063, allocations: 191.9 kB / 1.16 GB, free: 4.883 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/1.063, allocations: 38.22 kB / 1.16 GB, free: 4.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 4.088e-06/1.063, allocations: 5.453 kB / 1.16 GB, free: 4.836 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.001391/1.064, allocations: 0.5584 MB / 1.161 GB, free: 4.555 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/1.064, allocations: 58.78 kB / 1.161 GB, free: 4.488 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006322/1.065, allocations: 0.4951 MB / 1.161 GB, free: 4.191 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/1.065, allocations: 32.11 kB / 1.161 GB, free: 4.156 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/1.065, allocations: 307.5 kB / 1.162 GB, free: 3.887 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/1.065, allocations: 117.2 kB / 1.162 GB, free: 3.785 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.711e-05/1.065, allocations: 9.375 kB / 1.162 GB, free: 3.777 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.066, allocations: 367.6 kB / 1.162 GB, free: 3.422 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/1.066, allocations: 135.6 kB / 1.162 GB, free: 3.359 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/1.066, allocations: 222.4 kB / 1.162 GB, free: 3.203 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/1.067, allocations: 168.7 kB / 1.162 GB, free: 3.121 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.067, allocations: 0 / 1.162 GB, free: 3.121 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008055/1.067, allocations: 434 kB / 1.163 GB, free: 2.898 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.503e-05/1.068, allocations: 119.2 kB / 1.163 GB, free: 2.773 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.068, allocations: 0 / 1.163 GB, free: 2.773 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/1.068, allocations: 2.688 kB / 1.163 GB, free: 2.773 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/1.068, allocations: 73.84 kB / 1.163 GB, free: 2.758 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/1.068, allocations: 6.422 kB / 1.163 GB, free: 2.754 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006432/1.069, allocations: 66.19 kB / 1.163 GB, free: 2.715 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/1.069, allocations: 10.56 kB / 1.163 GB, free: 2.715 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/1.069, allocations: 3.938 kB / 1.163 GB, free: 2.715 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006951/1.069, allocations: 351.5 kB / 1.164 GB, free: 2.551 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/1.069, allocations: 1.531 kB / 1.164 GB, free: 2.551 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.218e-06/1.069, allocations: 6.062 kB / 1.164 GB, free: 2.547 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/1.07, allocations: 72.88 kB / 1.164 GB, free: 2.531 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/1.07, allocations: 1.562 kB / 1.164 GB, free: 2.531 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/1.07, allocations: 63.14 kB / 1.164 GB, free: 2.496 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/1.07, allocations: 16.75 kB / 1.164 GB, free: 2.488 MB / 0.698 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.0003617/1.071, allocations: 289.9 kB / 1.164 GB, free: 2.238 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/1.071, allocations: 60.41 kB / 1.164 GB, free: 2.207 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008657/1.072, allocations: 436.9 kB / 1.164 GB, free: 1.953 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.072, allocations: 4.156 kB / 1.164 GB, free: 1.953 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.072, allocations: 0 / 1.164 GB, free: 1.953 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006802/1.072, allocations: 444.9 kB / 1.165 GB, free: 1.652 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/1.074, allocations: 1.18 MB / 1.166 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.074, allocations: 1.375 kB / 1.166 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000441/1.075, allocations: 92.62 kB / 1.166 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/1.075, allocations: 6.703 kB / 1.166 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/1.075, allocations: 9.688 kB / 1.166 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/1.075, allocations: 6.75 kB / 1.166 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/1.075, allocations: 1.375 kB / 1.166 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/1.076, allocations: 0.7307 MB / 1.167 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/1.076, allocations: 176.4 kB / 1.167 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.389e-05/1.076, allocations: 16.3 kB / 1.167 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005316/1.077, allocations: 57.11 kB / 1.167 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/1.077, allocations: 24.19 kB / 1.167 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/1.077, allocations: 17.67 kB / 1.167 GB, free: 56 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004812/1.078, allocations: 358.9 kB / 1.167 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/1.078, allocations: 1.406 kB / 1.167 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001037/1.079, allocations: 321.1 kB / 1.168 GB, free: 15.78 MB / 0.7136 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.001933/1.081, allocations: 1.379 MB / 1.169 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001153/1.082, allocations: 0.5233 MB / 1.17 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.082, allocations: 0 / 1.17 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003148/1.082, allocations: 189 kB / 1.17 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/1.084, allocations: 364.6 kB / 1.17 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005541/1.09, allocations: 3.534 MB / 1.174 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005314/1.09, allocations: 0.9364 MB / 1.175 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007956/1.091, allocations: 179.3 kB / 1.175 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003339/1.091, allocations: 213.6 kB / 1.175 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of SimCode: time 7.72e-07/1.091, allocations: 0 / 1.175 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03519/1.126, allocations: 16.65 MB / 1.191 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/1.127, allocations: 223.5 kB / 1.191 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.563/3.69, allocations: 0 / 1.191 GB, free: 1.609 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)