Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_8_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_8_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007016/0.0007015, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.00407/0.00407, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.186/1.186, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.547/1.547, allocations: 292.7 MB / 0.5502 GB, free: 14.44 MB / 462.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.0004397/0.0004397, allocations: 16.84 kB / 0.6744 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.17, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.4809/0.6509, allocations: 178.6 MB / 0.9624 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006407/0.6573, allocations: 4.835 MB / 0.9671 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007665/0.6581, allocations: 25.72 kB / 0.9672 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009437/0.6591, allocations: 370.5 kB / 0.9675 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002987/0.6621, allocations: 1.32 MB / 0.9688 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.6639, allocations: 0.6997 MB / 0.9695 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002451/0.6663, allocations: 2.522 MB / 0.972 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006519/0.667, allocations: 0.4898 MB / 0.9724 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.6685, allocations: 0.7546 MB / 0.9732 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009436/0.6694, allocations: 0.5487 MB / 0.9737 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.797e-05/0.6695, allocations: 24.88 kB / 0.9737 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00258/0.6721, allocations: 1.612 MB / 0.9753 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.6724, allocations: 221.6 kB / 0.9755 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000348/0.6727, allocations: 381.6 kB / 0.9759 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.6744, allocations: 1.444 MB / 0.9773 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6744, allocations: 0 / 0.9773 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.617e-06/0.6744, allocations: 11.31 kB / 0.9773 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.6744, allocations: 0 / 0.9773 GB, free: 12.92 MB / 0.7325 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.001424/0.6758, allocations: 0.9524 MB / 0.9782 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.6759, allocations: 13.31 kB / 0.9782 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.354e-05/0.676, allocations: 88.05 kB / 0.9783 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.6772, allocations: 210 kB / 0.9785 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007823/0.678, allocations: 0.5842 MB / 0.9791 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.678, allocations: 37.25 kB / 0.9791 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.952e-05/0.6781, allocations: 45.25 kB / 0.9792 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007581/0.6789, allocations: 0.4945 MB / 0.9797 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.6789, allocations: 0 / 0.9797 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.679, allocations: 17.88 kB / 0.9797 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/0.679, allocations: 19.69 kB / 0.9797 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000687/0.6797, allocations: 452.9 kB / 0.9801 GB, free: 11.45 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.002275/0.682, allocations: 2.01 MB / 0.9821 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005002/0.6825, allocations: 348 kB / 0.9824 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/0.6828, allocations: 216.4 kB / 0.9826 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/0.6831, allocations: 199.7 kB / 0.9828 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.6831, allocations: 34.03 kB / 0.9829 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.6831, allocations: 0 / 0.9829 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001129/0.6842, allocations: 0.5597 MB / 0.9834 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.6843, allocations: 54.28 kB / 0.9835 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000541/0.6848, allocations: 0.5053 MB / 0.9839 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.879e-05/0.6849, allocations: 36.7 kB / 0.984 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.6851, allocations: 299.3 kB / 0.9843 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.972e-05/0.6852, allocations: 120.8 kB / 0.9844 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.6852, allocations: 36.98 kB / 0.9844 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6854, allocations: 362.1 kB / 0.9848 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.6856, allocations: 140.7 kB / 0.9849 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.6859, allocations: 231.4 kB / 0.9851 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005207/0.6865, allocations: 345.6 kB / 0.9854 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6865, allocations: 0 / 0.9854 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006748/0.6872, allocations: 442.5 kB / 0.9859 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.406e-05/0.6872, allocations: 116.3 kB / 0.986 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6873, allocations: 0 / 0.986 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.6873, allocations: 2.844 kB / 0.986 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.6876, allocations: 81.33 kB / 0.9861 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.6876, allocations: 3.031 kB / 0.9861 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005434/0.6882, allocations: 56.53 kB / 0.9861 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.6882, allocations: 16.22 kB / 0.9861 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.059e-06/0.6882, allocations: 6.844 kB / 0.9861 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006405/0.6889, allocations: 354.7 kB / 0.9865 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/0.6889, allocations: 2.781 kB / 0.9865 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-06/0.6889, allocations: 2.688 kB / 0.9865 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.6892, allocations: 69.12 kB / 0.9865 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.6892, allocations: 0 / 0.9865 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/0.6897, allocations: 71.33 kB / 0.9866 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.6897, allocations: 10.88 kB / 0.9866 GB, free: 7.91 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.0002618/0.69, allocations: 289.2 kB / 0.9869 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.379e-05/0.6901, allocations: 54.53 kB / 0.987 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007237/0.6908, allocations: 434.4 kB / 0.9874 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.6908, allocations: 2.938 kB / 0.9874 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.6908, allocations: 7.875 kB / 0.9874 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005778/0.6914, allocations: 448.3 kB / 0.9878 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.693, allocations: 1.186 MB / 0.989 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.693, allocations: 2.906 kB / 0.989 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003878/0.6934, allocations: 89.12 kB / 0.9891 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.6934, allocations: 7.125 kB / 0.9891 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.6935, allocations: 7.25 kB / 0.9891 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.6935, allocations: 2.812 kB / 0.9891 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.6935, allocations: 5.719 kB / 0.9891 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009916/0.6945, allocations: 0.7471 MB / 0.9898 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.6947, allocations: 175.2 kB / 0.99 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.796e-05/0.6948, allocations: 14.28 kB / 0.99 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005018/0.6953, allocations: 56.95 kB / 0.99 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.6953, allocations: 31.89 kB / 0.9901 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.6954, allocations: 13.48 kB / 0.9901 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003522/0.6957, allocations: 364.9 kB / 0.9904 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.82e-07/0.6957, allocations: 0 / 0.9904 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007511/0.6965, allocations: 326.2 kB / 0.9907 GB, free: 5.195 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.001562/0.6981, allocations: 1.383 MB / 0.9921 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008705/0.6989, allocations: 0.5175 MB / 0.9926 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.699, allocations: 3.156 kB / 0.9926 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.6992, allocations: 186.5 kB / 0.9928 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.7011, allocations: 364.6 kB / 0.9931 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005907/0.7071, allocations: 5.01 MB / 0.998 GB, free: 192 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.7075, allocations: 0.9298 MB / 0.9989 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005874/0.7081, allocations: 185.4 kB / 0.9991 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.7084, allocations: 217.7 kB / 0.9993 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of SimCode: time 5.31e-07/0.7084, allocations: 3.938 kB / 0.9993 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.146/2.854, allocations: 16.08 MB / 1.015 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/2.855, allocations: 226.3 kB / 1.015 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.035/4.889, allocations: 0 / 1.015 GB, free: 7.211 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_8_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)