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.516/1.516, allocations: 288.4 MB / 303.6 MB, free: 7.988 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.0009032/0.0009033, allocations: 187.3 kB / 372.3 MB, free: 10.12 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.31/1.31, allocations: 205.4 MB / 0.631 GB, free: 9.867 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.0006857/0.0006857, allocations: 102.9 kB / 0.7444 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003781, allocations: 11.19 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1658, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.4938/0.6596, allocations: 166.7 MB / 1.143 GB, free: 13.47 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006577/0.6663, allocations: 4.522 MB / 1.147 GB, free: 12.11 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007841/0.6671, allocations: 24.41 kB / 1.147 GB, free: 12.1 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.6682, allocations: 337 kB / 1.148 GB, free: 11.97 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003064/0.6712, allocations: 1.227 MB / 1.149 GB, free: 11.25 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.6733, allocations: 0.6151 MB / 1.149 GB, free: 10.99 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002592/0.6759, allocations: 2.139 MB / 1.152 GB, free: 10.21 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007095/0.6766, allocations: 497.2 kB / 1.152 GB, free: 10 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.6782, allocations: 0.7472 MB / 1.153 GB, free: 9.656 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008757/0.6791, allocations: 0.5193 MB / 1.153 GB, free: 9.422 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.204e-05/0.6792, allocations: 25.66 kB / 1.153 GB, free: 9.422 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.6821, allocations: 1.578 MB / 1.155 GB, free: 8.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002523/0.6823, allocations: 229.1 kB / 1.155 GB, free: 8.664 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004105/0.6828, allocations: 360.6 kB / 1.155 GB, free: 8.516 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.684, allocations: 1.016 MB / 1.156 GB, free: 7.98 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.684, allocations: 1.094 kB / 1.156 GB, free: 7.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.463e-06/0.684, allocations: 3.938 kB / 1.156 GB, free: 7.977 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.6841, allocations: 0 / 1.156 GB, free: 7.977 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.001432/0.6855, allocations: 0.966 MB / 1.157 GB, free: 7.234 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.6855, allocations: 9.406 kB / 1.157 GB, free: 7.234 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.465e-05/0.6856, allocations: 84.84 kB / 1.157 GB, free: 7.168 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.6868, allocations: 215.1 kB / 1.158 GB, free: 7.066 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008157/0.6876, allocations: 0.5781 MB / 1.158 GB, free: 6.586 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/0.6877, allocations: 38.38 kB / 1.158 GB, free: 6.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.505e-05/0.6878, allocations: 43.97 kB / 1.158 GB, free: 6.559 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009071/0.6887, allocations: 0.493 MB / 1.159 GB, free: 6.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.6887, allocations: 0 / 1.159 GB, free: 6.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.639e-05/0.6888, allocations: 20.12 kB / 1.159 GB, free: 6.254 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.6888, allocations: 25.22 kB / 1.159 GB, free: 6.242 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007385/0.6895, allocations: 436.6 kB / 1.159 GB, free: 6.047 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.002388/0.6919, allocations: 2.008 MB / 1.161 GB, free: 4.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/0.6925, allocations: 351.1 kB / 1.162 GB, free: 4.137 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/0.6928, allocations: 214.8 kB / 1.162 GB, free: 4.035 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002617/0.6931, allocations: 200.3 kB / 1.162 GB, free: 3.828 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.6931, allocations: 37.19 kB / 1.162 GB, free: 3.785 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 1.372e-06/0.6931, allocations: 3.938 kB / 1.162 GB, free: 3.781 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.001136/0.6943, allocations: 0.5562 MB / 1.163 GB, free: 3.504 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.6943, allocations: 58.81 kB / 1.163 GB, free: 3.438 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005272/0.6948, allocations: 0.4977 MB / 1.163 GB, free: 3.137 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.6949, allocations: 33.42 kB / 1.163 GB, free: 3.102 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.6951, allocations: 311.6 kB / 1.163 GB, free: 2.828 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.988e-05/0.6952, allocations: 107.8 kB / 1.163 GB, free: 2.734 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.101e-05/0.6952, allocations: 10.06 kB / 1.163 GB, free: 2.727 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.6953, allocations: 363.5 kB / 1.164 GB, free: 2.375 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.6956, allocations: 135.4 kB / 1.164 GB, free: 2.312 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.6959, allocations: 227.8 kB / 1.164 GB, free: 2.152 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005421/0.6965, allocations: 345.3 kB / 1.165 GB, free: 1.961 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6965, allocations: 1.812 kB / 1.165 GB, free: 1.961 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006586/0.6972, allocations: 429.1 kB / 1.165 GB, free: 1.742 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.231e-05/0.6972, allocations: 114.6 kB / 1.165 GB, free: 1.621 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.6972, allocations: 5.25 kB / 1.165 GB, free: 1.617 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.6972, allocations: 2.531 kB / 1.165 GB, free: 1.617 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.6976, allocations: 73.3 kB / 1.165 GB, free: 1.602 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.6976, allocations: 2.781 kB / 1.165 GB, free: 1.602 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004939/0.6981, allocations: 61.94 kB / 1.165 GB, free: 1.566 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.6981, allocations: 17.73 kB / 1.165 GB, free: 1.559 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.861e-06/0.6981, allocations: 3.5 kB / 1.165 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005813/0.6987, allocations: 355.9 kB / 1.166 GB, free: 1.391 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-06/0.6987, allocations: 1.062 kB / 1.166 GB, free: 1.391 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.306e-06/0.6987, allocations: 3.312 kB / 1.166 GB, free: 1.391 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.699, allocations: 72.88 kB / 1.166 GB, free: 1.375 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.699, allocations: 2.375 kB / 1.166 GB, free: 1.375 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004519/0.6995, allocations: 68.14 kB / 1.166 GB, free: 1.336 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.6995, allocations: 13.34 kB / 1.166 GB, free: 1.332 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.000243/0.6998, allocations: 290.7 kB / 1.166 GB, free: 1.082 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-05/0.6999, allocations: 60.22 kB / 1.166 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006937/0.7006, allocations: 432.7 kB / 1.166 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.7006, allocations: 4.125 kB / 1.166 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.7006, allocations: 3.938 kB / 1.166 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005518/0.7012, allocations: 456.2 kB / 1.167 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.7028, allocations: 1.175 MB / 1.168 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.7028, allocations: 10.19 kB / 1.168 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003965/0.7032, allocations: 93.52 kB / 1.168 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.7032, allocations: 2.781 kB / 1.168 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.7033, allocations: 8.219 kB / 1.168 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.7033, allocations: 2.75 kB / 1.168 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7033, allocations: 1.469 kB / 1.168 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.7043, allocations: 0.7469 MB / 1.169 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/0.7045, allocations: 172 kB / 1.169 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.573e-05/0.7046, allocations: 11.64 kB / 1.169 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/0.7051, allocations: 58.36 kB / 1.169 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.7052, allocations: 23.25 kB / 1.169 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.7052, allocations: 13.97 kB / 1.169 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003652/0.7056, allocations: 355 kB / 1.169 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7056, allocations: 1.125 kB / 1.169 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007948/0.7064, allocations: 329.1 kB / 1.17 GB, free: 14.61 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.001452/0.7078, allocations: 1.37 MB / 1.171 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008629/0.7087, allocations: 0.5196 MB / 1.172 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7087, allocations: 4.375 kB / 1.172 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.709, allocations: 181.4 kB / 1.172 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.7108, allocations: 362.1 kB / 1.172 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004474/0.7152, allocations: 3.543 MB / 1.176 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.7157, allocations: 0.9326 MB / 1.177 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005757/0.7163, allocations: 187.3 kB / 1.177 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.7165, allocations: 213.8 kB / 1.177 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/0.7166, allocations: 0 / 1.177 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6719/1.388, allocations: 16.85 MB / 1.193 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/1.389, allocations: 218.1 kB / 1.194 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/3.598, allocations: 0 / 1.194 GB, free: 15.65 MB / 0.7292 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)