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.886/1.886, allocations: 288.2 MB / 303.2 MB, free: 8.18 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.001061/0.001061, allocations: 181 kB / 371.8 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.594/1.594, allocations: 205.4 MB / 0.6305 GB, free: 9.988 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.0008381/0.0008382, allocations: 93.44 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004009, allocations: 11.44 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2666, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.7053/0.9719, allocations: 152.6 MB / 1.128 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.008186/0.9802, allocations: 4.736 MB / 1.133 GB, free: 384 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001488/0.9818, allocations: 24.53 kB / 1.133 GB, free: 372 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001798/0.9836, allocations: 437.1 kB / 1.134 GB, free: 296 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005091/0.9887, allocations: 1.368 MB / 1.135 GB, free: 216 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002951/0.9917, allocations: 0.8628 MB / 1.136 GB, free: 184 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002555/0.9942, allocations: 1.086 MB / 1.137 GB, free: 128 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.9953, allocations: 448.7 kB / 1.137 GB, free: 24 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002213/0.9975, allocations: 0.6244 MB / 1.138 GB, free: 0 / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.9987, allocations: 358.7 kB / 1.138 GB, free: 15.89 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.9989, allocations: 24.44 kB / 1.138 GB, free: 15.89 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/1.001, allocations: 0.6898 MB / 1.139 GB, free: 15.75 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000349/1.002, allocations: 211.1 kB / 1.139 GB, free: 15.67 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003948/1.002, allocations: 165.5 kB / 1.139 GB, free: 15.62 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/1.004, allocations: 0.8724 MB / 1.14 GB, free: 15.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/1.004, allocations: 1.062 kB / 1.14 GB, free: 15.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/1.004, allocations: 0 / 1.14 GB, free: 15.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.503e-05/1.004, allocations: 0 / 1.14 GB, free: 15.2 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.001944/1.006, allocations: 0.9582 MB / 1.141 GB, free: 14.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/1.006, allocations: 8.781 kB / 1.141 GB, free: 14.48 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/1.006, allocations: 87 kB / 1.141 GB, free: 14.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/1.007, allocations: 209.8 kB / 1.141 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/1.008, allocations: 0.5523 MB / 1.142 GB, free: 13.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.841e-05/1.008, allocations: 41.94 kB / 1.142 GB, free: 13.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/1.009, allocations: 48.56 kB / 1.142 GB, free: 13.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/1.01, allocations: 494.1 kB / 1.142 GB, free: 13.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/1.01, allocations: 1.031 kB / 1.142 GB, free: 13.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.184e-05/1.01, allocations: 19 kB / 1.142 GB, free: 13.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.721e-05/1.01, allocations: 16.91 kB / 1.142 GB, free: 13.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009688/1.011, allocations: 446.5 kB / 1.143 GB, free: 13.76 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.003397/1.014, allocations: 2.009 MB / 1.145 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007814/1.015, allocations: 362.5 kB / 1.145 GB, free: 12.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.43e-05/1.015, allocations: 12.83 kB / 1.145 GB, free: 12.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/1.015, allocations: 36.41 kB / 1.145 GB, free: 12.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.246e-06/1.015, allocations: 0 / 1.145 GB, free: 12.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.001829/1.017, allocations: 0.5591 MB / 1.146 GB, free: 12.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/1.017, allocations: 58.62 kB / 1.146 GB, free: 12.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/1.018, allocations: 0.4957 MB / 1.146 GB, free: 11.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.838e-05/1.018, allocations: 38.27 kB / 1.146 GB, free: 11.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000378/1.019, allocations: 299.5 kB / 1.147 GB, free: 11.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/1.019, allocations: 119.1 kB / 1.147 GB, free: 11.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/1.019, allocations: 9.375 kB / 1.147 GB, free: 11.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002015/1.019, allocations: 362.6 kB / 1.147 GB, free: 11.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/1.019, allocations: 134.8 kB / 1.147 GB, free: 11.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/1.02, allocations: 219.1 kB / 1.147 GB, free: 11.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/1.02, allocations: 173.9 kB / 1.148 GB, free: 11.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/1.02, allocations: 0 / 1.148 GB, free: 11.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009556/1.021, allocations: 434.4 kB / 1.148 GB, free: 11.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002094/1.021, allocations: 357.6 kB / 1.148 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/1.021, allocations: 4.875 kB / 1.148 GB, free: 10.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/1.022, allocations: 2.469 kB / 1.148 GB, free: 10.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004404/1.022, allocations: 76.55 kB / 1.148 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/1.022, allocations: 2.188 kB / 1.148 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007497/1.023, allocations: 70.2 kB / 1.148 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/1.023, allocations: 17.17 kB / 1.148 GB, free: 10.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/1.023, allocations: 3.812 kB / 1.148 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007413/1.024, allocations: 350.2 kB / 1.149 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.024, allocations: 1.812 kB / 1.149 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.544e-06/1.024, allocations: 5.469 kB / 1.149 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/1.024, allocations: 72.22 kB / 1.149 GB, free: 10.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/1.024, allocations: 2.781 kB / 1.149 GB, free: 10.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006668/1.025, allocations: 63.89 kB / 1.149 GB, free: 10.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/1.025, allocations: 9.875 kB / 1.149 GB, free: 10.5 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.0004229/1.025, allocations: 291.9 kB / 1.149 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/1.025, allocations: 64.14 kB / 1.149 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008691/1.026, allocations: 425.1 kB / 1.15 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/1.026, allocations: 3.812 kB / 1.15 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.026, allocations: 3.938 kB / 1.15 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000724/1.027, allocations: 445.2 kB / 1.15 GB, free: 9.934 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/1.029, allocations: 1.178 MB / 1.151 GB, free: 9.355 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/1.029, allocations: 2.219 kB / 1.151 GB, free: 9.355 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004625/1.03, allocations: 93.48 kB / 1.151 GB, free: 9.336 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/1.03, allocations: 2.594 kB / 1.151 GB, free: 9.336 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/1.03, allocations: 8.5 kB / 1.151 GB, free: 9.336 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/1.03, allocations: 2.312 kB / 1.151 GB, free: 9.336 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.03, allocations: 2.25 kB / 1.151 GB, free: 9.336 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/1.031, allocations: 0.8181 MB / 1.152 GB, free: 8.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003551/1.032, allocations: 175.8 kB / 1.152 GB, free: 8.789 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/1.032, allocations: 7.469 kB / 1.152 GB, free: 8.789 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005841/1.032, allocations: 56.3 kB / 1.152 GB, free: 8.766 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.535e-05/1.032, allocations: 32.2 kB / 1.152 GB, free: 8.746 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/1.032, allocations: 13.12 kB / 1.152 GB, free: 8.746 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005093/1.033, allocations: 359.3 kB / 1.153 GB, free: 8.609 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.033, allocations: 0 / 1.153 GB, free: 8.609 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001489/1.034, allocations: 320.4 kB / 1.153 GB, free: 8.566 MB / 0.698 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.002277/1.037, allocations: 1.863 MB / 1.155 GB, free: 7.199 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001205/1.038, allocations: 0.5283 MB / 1.155 GB, free: 7.102 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.902e-06/1.038, allocations: 1.344 kB / 1.155 GB, free: 7.102 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003598/1.038, allocations: 188 kB / 1.156 GB, free: 7.062 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/1.04, allocations: 363.8 kB / 1.156 GB, free: 6.898 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007573/1.048, allocations: 3.944 MB / 1.16 GB, free: 4.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007041/1.049, allocations: 0.9442 MB / 1.161 GB, free: 3.406 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009769/1.05, allocations: 183.8 kB / 1.161 GB, free: 3.324 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004344/1.05, allocations: 213.9 kB / 1.161 GB, free: 3.152 MB / 0.698 GB Notification: Performance of SimCode: time 1.973e-06/1.05, allocations: 0 / 1.161 GB, free: 3.152 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04763/1.098, allocations: 16.62 MB / 1.177 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002722/1.098, allocations: 220.9 kB / 1.178 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.589/3.687, allocations: 0 / 1.178 GB, free: 10.91 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)