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.006803/0.006803, allocations: 107.8 kB / 15.7 MB, free: 6.066 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.001167/0.001167, allocations: 190.5 kB / 16.64 MB, free: 5.992 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.442/1.442, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.664/1.664, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001298/0.001298, allocations: 72.45 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2374, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.6359/0.8733, allocations: 183.3 MB / 0.9626 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007257/0.8806, allocations: 4.82 MB / 0.9673 GB, free: 92 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.8821, allocations: 28.78 kB / 0.9673 GB, free: 80 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.8835, allocations: 445.8 kB / 0.9677 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003992/0.8876, allocations: 1.408 MB / 0.9691 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002356/0.8899, allocations: 0.7728 MB / 0.9699 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003163/0.8931, allocations: 1.836 MB / 0.9717 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.8941, allocations: 0.5893 MB / 0.9722 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001938/0.8961, allocations: 0.8733 MB / 0.9731 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.8972, allocations: 0.5393 MB / 0.9736 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.8974, allocations: 58.34 kB / 0.9737 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003001/0.9004, allocations: 1.413 MB / 0.9751 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003097/0.9007, allocations: 271.4 kB / 0.9753 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004721/0.9012, allocations: 397.4 kB / 0.9757 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002415/0.9036, allocations: 1.424 MB / 0.9771 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.9036, allocations: 0 / 0.9771 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9036, allocations: 0 / 0.9771 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.9036, allocations: 0 / 0.9771 GB, free: 14.26 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.001817/0.9055, allocations: 1.098 MB / 0.9782 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.9055, allocations: 8.969 kB / 0.9782 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.871e-05/0.9056, allocations: 87.02 kB / 0.9782 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.9069, allocations: 215.3 kB / 0.9784 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009401/0.9079, allocations: 0.6095 MB / 0.979 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.9079, allocations: 41.97 kB / 0.9791 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.561e-05/0.908, allocations: 47.34 kB / 0.9791 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008497/0.9089, allocations: 0.4886 MB / 0.9796 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.9089, allocations: 4 kB / 0.9796 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-05/0.909, allocations: 19.47 kB / 0.9796 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.784e-05/0.909, allocations: 18.59 kB / 0.9796 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007425/0.9097, allocations: 436.3 kB / 0.9801 GB, free: 12.41 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.002434/0.9122, allocations: 1.995 MB / 0.982 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005268/0.9127, allocations: 352.1 kB / 0.9823 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.913, allocations: 216.5 kB / 0.9826 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002983/0.9134, allocations: 189.8 kB / 0.9827 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.9134, allocations: 37.38 kB / 0.9828 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.9134, allocations: 0 / 0.9828 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001214/0.9146, allocations: 0.5402 MB / 0.9833 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.9147, allocations: 59.16 kB / 0.9834 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005146/0.9152, allocations: 0.4941 MB / 0.9838 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.9152, allocations: 36.89 kB / 0.9839 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.9154, allocations: 303.6 kB / 0.9842 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.9156, allocations: 121.8 kB / 0.9843 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.9157, allocations: 72.8 kB / 0.9843 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.9158, allocations: 363 kB / 0.9847 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.9161, allocations: 146.4 kB / 0.9848 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.9164, allocations: 219.1 kB / 0.985 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/0.9169, allocations: 344.5 kB / 0.9854 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.917, allocations: 0 / 0.9854 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006839/0.9176, allocations: 426.6 kB / 0.9858 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.9177, allocations: 7.469 kB / 0.9858 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.9177, allocations: 0.5469 kB / 0.9858 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.9177, allocations: 2.344 kB / 0.9858 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/0.918, allocations: 71.53 kB / 0.9859 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.9181, allocations: 2.406 kB / 0.9859 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.9185, allocations: 50.52 kB / 0.9859 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.9186, allocations: 11.78 kB / 0.9859 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004124/0.919, allocations: 308.2 kB / 0.9862 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003242/0.9193, allocations: 214.8 kB / 0.9864 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005489/0.9199, allocations: 343.5 kB / 0.9867 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.312e-06/0.9199, allocations: 0 / 0.9867 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006823/0.9206, allocations: 422.7 kB / 0.9871 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.9206, allocations: 5.344 kB / 0.9872 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-06/0.9206, allocations: 0 / 0.9872 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.458e-06/0.9206, allocations: 2.531 kB / 0.9872 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.9209, allocations: 67.06 kB / 0.9872 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.9209, allocations: 10.7 kB / 0.9872 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000465/0.9214, allocations: 32.02 kB / 0.9873 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.9214, allocations: 14.38 kB / 0.9873 GB, free: 7.234 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.0001577/0.9216, allocations: 205 kB / 0.9875 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.9217, allocations: 61.5 kB / 0.9875 GB, free: 7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000763/0.9225, allocations: 419.6 kB / 0.9879 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.9225, allocations: 6.344 kB / 0.9879 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.9225, allocations: 0 / 0.9879 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005959/0.9231, allocations: 445.5 kB / 0.9884 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.9248, allocations: 1.168 MB / 0.9895 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.9248, allocations: 2.094 kB / 0.9895 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/0.9252, allocations: 85.55 kB / 0.9896 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.9252, allocations: 2.781 kB / 0.9896 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.9253, allocations: 8.344 kB / 0.9896 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.9253, allocations: 6.938 kB / 0.9896 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.9253, allocations: 10.64 kB / 0.9896 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.9263, allocations: 0.7217 MB / 0.9903 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/0.9266, allocations: 184.8 kB / 0.9905 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.743e-05/0.9267, allocations: 13.23 kB / 0.9905 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004391/0.9271, allocations: 22.25 kB / 0.9905 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.99e-05/0.9272, allocations: 20.36 kB / 0.9905 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.9272, allocations: 21.98 kB / 0.9906 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003869/0.9276, allocations: 359.8 kB / 0.9909 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.9276, allocations: 0 / 0.9909 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008366/0.9285, allocations: 320.6 kB / 0.9912 GB, free: 4.602 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.00159/0.9301, allocations: 1.36 MB / 0.9925 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009455/0.931, allocations: 0.5068 MB / 0.993 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.931, allocations: 6.406 kB / 0.993 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002802/0.9313, allocations: 181.4 kB / 0.9932 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.9329, allocations: 345.3 kB / 0.9935 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005688/0.9386, allocations: 4.615 MB / 0.9981 GB, free: 8 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.9391, allocations: 0.9323 MB / 0.999 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006247/0.9398, allocations: 183 kB / 0.9991 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/0.9401, allocations: 213.2 kB / 0.9993 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of SimCode: time 8.52e-07/0.9401, allocations: 0 / 0.9993 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03879/0.9789, allocations: 16.72 MB / 1.016 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.739/9.718, allocations: 10.84 kB / 1.016 GB, free: 6.707 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Delays.Examples.Delay_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)