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.001178/0.001178, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 194.3 kB / 16.53 MB, free: 6.672 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.377/1.377, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.795/1.795, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.002273/0.002273, allocations: 72.48 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2942, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.6002/0.8944, allocations: 183.2 MB / 0.9624 GB, free: 492 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008488/0.903, allocations: 4.825 MB / 0.9671 GB, free: 32 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.9042, allocations: 28.59 kB / 0.9671 GB, free: 20 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.9057, allocations: 441.2 kB / 0.9676 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003812/0.9096, allocations: 1.41 MB / 0.9689 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002112/0.9117, allocations: 0.7661 MB / 0.9697 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002504/0.9142, allocations: 1.831 MB / 0.9715 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008965/0.9151, allocations: 0.5944 MB / 0.9721 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002107/0.9172, allocations: 0.8683 MB / 0.9729 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.9185, allocations: 0.5439 MB / 0.9734 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.9187, allocations: 63.28 kB / 0.9735 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003309/0.922, allocations: 1.41 MB / 0.9749 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003772/0.9224, allocations: 265.9 kB / 0.9751 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000538/0.9229, allocations: 394.4 kB / 0.9755 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002991/0.9259, allocations: 1.413 MB / 0.9769 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.926, allocations: 0 / 0.9769 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.442e-06/0.926, allocations: 3.938 kB / 0.9769 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.602e-05/0.926, allocations: 0 / 0.9769 GB, free: 14.25 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.002206/0.9282, allocations: 1.1 MB / 0.978 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.9283, allocations: 10 kB / 0.978 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001298/0.9284, allocations: 86.92 kB / 0.9781 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/0.9299, allocations: 210.9 kB / 0.9783 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009101/0.9308, allocations: 0.5768 MB / 0.9788 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.9308, allocations: 35 kB / 0.9789 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.208e-05/0.9309, allocations: 52.22 kB / 0.9789 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008515/0.9318, allocations: 498.2 kB / 0.9794 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.9318, allocations: 0 / 0.9794 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.518e-05/0.9319, allocations: 20.97 kB / 0.9794 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/0.9319, allocations: 20.73 kB / 0.9794 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007877/0.9327, allocations: 441.6 kB / 0.9798 GB, free: 12.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.002913/0.9356, allocations: 2.012 MB / 0.9818 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006094/0.9363, allocations: 350.5 kB / 0.9821 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/0.9366, allocations: 210.4 kB / 0.9823 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003445/0.937, allocations: 199 kB / 0.9825 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.937, allocations: 34.06 kB / 0.9826 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.966e-06/0.937, allocations: 0 / 0.9826 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001378/0.9384, allocations: 0.5399 MB / 0.9831 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.9385, allocations: 62.53 kB / 0.9832 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005724/0.9391, allocations: 0.5027 MB / 0.9836 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/0.9391, allocations: 34.61 kB / 0.9837 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.9394, allocations: 299.3 kB / 0.984 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.9395, allocations: 119.2 kB / 0.9841 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.9396, allocations: 69.84 kB / 0.9841 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.9398, allocations: 369.9 kB / 0.9845 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.9401, allocations: 140.7 kB / 0.9846 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000354/0.9405, allocations: 214.8 kB / 0.9848 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006092/0.9411, allocations: 344.2 kB / 0.9852 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.9411, allocations: 0 / 0.9852 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008395/0.942, allocations: 425.3 kB / 0.9856 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.942, allocations: 4.812 kB / 0.9856 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.942, allocations: 96 / 0.9856 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.942, allocations: 6 kB / 0.9856 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.9424, allocations: 81.64 kB / 0.9857 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.9424, allocations: 1.812 kB / 0.9857 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/0.943, allocations: 43.14 kB / 0.9857 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.943, allocations: 11.53 kB / 0.9857 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004586/0.9435, allocations: 307.8 kB / 0.986 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003293/0.9438, allocations: 218.1 kB / 0.9862 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005725/0.9444, allocations: 331.4 kB / 0.9865 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.9444, allocations: 0 / 0.9865 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006868/0.9451, allocations: 427.8 kB / 0.9869 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/0.9451, allocations: 5.312 kB / 0.9869 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-06/0.9451, allocations: 0 / 0.9869 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.48e-06/0.9451, allocations: 6.188 kB / 0.9869 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.9454, allocations: 71.59 kB / 0.987 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.9455, allocations: 14.42 kB / 0.987 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004751/0.9459, allocations: 31.94 kB / 0.9871 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.946, allocations: 12.03 kB / 0.9871 GB, free: 7.254 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.000176/0.9462, allocations: 203.4 kB / 0.9873 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.9463, allocations: 59.25 kB / 0.9873 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000862/0.9471, allocations: 423.6 kB / 0.9877 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.9471, allocations: 9.188 kB / 0.9877 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.9472, allocations: 0 / 0.9877 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007282/0.9479, allocations: 434.6 kB / 0.9881 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.9498, allocations: 1.168 MB / 0.9893 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.9498, allocations: 1.688 kB / 0.9893 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/0.9502, allocations: 91.78 kB / 0.9894 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.9502, allocations: 2.5 kB / 0.9894 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.9503, allocations: 9 kB / 0.9894 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.9503, allocations: 6.781 kB / 0.9894 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.9503, allocations: 2.094 kB / 0.9894 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.9514, allocations: 0.7224 MB / 0.9901 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002422/0.9516, allocations: 180.7 kB / 0.9903 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.663e-05/0.9517, allocations: 6.812 kB / 0.9903 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004586/0.9522, allocations: 28.59 kB / 0.9903 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.9523, allocations: 22.22 kB / 0.9903 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.9523, allocations: 20.34 kB / 0.9904 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004067/0.9527, allocations: 359.6 kB / 0.9907 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9527, allocations: 3.938 kB / 0.9907 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008609/0.9536, allocations: 320.4 kB / 0.991 GB, free: 4.633 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.001609/0.9552, allocations: 1.354 MB / 0.9923 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001053/0.9563, allocations: 0.5455 MB / 0.9929 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9563, allocations: 2.562 kB / 0.9929 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000305/0.9566, allocations: 182.3 kB / 0.993 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.9582, allocations: 351.3 kB / 0.9934 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006253/0.9645, allocations: 4.721 MB / 0.998 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006096/0.9651, allocations: 0.9321 MB / 0.9989 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007556/0.9659, allocations: 186.5 kB / 0.9991 GB, free: 15 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/0.9662, allocations: 215.9 kB / 0.9993 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of SimCode: time 1.363e-06/0.9662, allocations: 0 / 0.9993 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04213/1.008, allocations: 16.71 MB / 1.016 GB, free: 6.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.296/9.305, allocations: 4 kB / 1.016 GB, free: 6.586 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)