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.001003/0.001003, allocations: 108 kB / 15.61 MB, free: 152 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.0009778/0.0009778, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.327/1.327, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.516/1.516, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001446/0.001447, allocations: 71.41 kB / 0.6716 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1728, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.48/0.6528, allocations: 183.2 MB / 0.9624 GB, free: 444 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005621/0.6585, allocations: 4.82 MB / 0.9671 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004349/0.659, allocations: 29.09 kB / 0.9672 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008938/0.6599, allocations: 437.1 kB / 0.9676 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002477/0.6624, allocations: 1.402 MB / 0.9689 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.6638, allocations: 0.7642 MB / 0.9697 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001577/0.6654, allocations: 1.831 MB / 0.9715 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006341/0.6661, allocations: 0.5979 MB / 0.9721 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.6674, allocations: 0.8654 MB / 0.9729 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008936/0.6683, allocations: 0.5494 MB / 0.9734 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.859e-05/0.6684, allocations: 58.81 kB / 0.9735 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001953/0.6703, allocations: 1.411 MB / 0.9749 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.6706, allocations: 263.9 kB / 0.9751 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003323/0.6709, allocations: 403.8 kB / 0.9755 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.6724, allocations: 1.408 MB / 0.9769 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6724, allocations: 0 / 0.9769 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6724, allocations: 0 / 0.9769 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.6724, allocations: 1.375 kB / 0.9769 GB, free: 14.27 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.001462/0.6739, allocations: 1.104 MB / 0.978 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.6739, allocations: 10.84 kB / 0.978 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.284e-05/0.674, allocations: 83.59 kB / 0.9781 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.6752, allocations: 207.7 kB / 0.9783 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007179/0.6759, allocations: 0.578 MB / 0.9788 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.676, allocations: 33.91 kB / 0.9789 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.02e-05/0.676, allocations: 50.22 kB / 0.9789 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007599/0.6768, allocations: 497.8 kB / 0.9794 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.6768, allocations: 4 kB / 0.9794 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-05/0.6769, allocations: 19.44 kB / 0.9794 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.6769, allocations: 17.06 kB / 0.9794 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006989/0.6776, allocations: 440.8 kB / 0.9798 GB, free: 12.51 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.00238/0.68, allocations: 2.013 MB / 0.9818 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005208/0.6805, allocations: 347.9 kB / 0.9821 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.6808, allocations: 211.4 kB / 0.9823 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002583/0.6811, allocations: 197.7 kB / 0.9825 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.6812, allocations: 37.5 kB / 0.9826 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 1.433e-06/0.6812, allocations: 0 / 0.9826 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001104/0.6823, allocations: 0.544 MB / 0.9831 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.6823, allocations: 61.94 kB / 0.9831 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004711/0.6828, allocations: 0.5012 MB / 0.9836 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.6828, allocations: 31.95 kB / 0.9837 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.683, allocations: 299.5 kB / 0.984 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.026e-05/0.6831, allocations: 123.6 kB / 0.9841 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.6832, allocations: 71.41 kB / 0.9841 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.6834, allocations: 363.9 kB / 0.9845 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.6836, allocations: 145.4 kB / 0.9846 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.6839, allocations: 216.1 kB / 0.9848 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.6844, allocations: 343.2 kB / 0.9852 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6845, allocations: 0 / 0.9852 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006474/0.6851, allocations: 425.3 kB / 0.9856 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.6851, allocations: 9.5 kB / 0.9856 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.6851, allocations: 0 / 0.9856 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.6852, allocations: 2.344 kB / 0.9856 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.6855, allocations: 79.27 kB / 0.9857 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.6855, allocations: 2.125 kB / 0.9857 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/0.6859, allocations: 36.67 kB / 0.9857 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.6859, allocations: 14.03 kB / 0.9857 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003785/0.6863, allocations: 308.2 kB / 0.986 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002735/0.6866, allocations: 217.3 kB / 0.9862 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004761/0.6871, allocations: 333.7 kB / 0.9865 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.6871, allocations: 0 / 0.9865 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006133/0.6877, allocations: 425.5 kB / 0.9869 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.011e-06/0.6877, allocations: 4.844 kB / 0.9869 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-06/0.6877, allocations: 2.938 kB / 0.9869 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.108e-06/0.6878, allocations: 5.875 kB / 0.9869 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.688, allocations: 69.38 kB / 0.987 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.688, allocations: 6.188 kB / 0.987 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004155/0.6885, allocations: 32.5 kB / 0.987 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.6885, allocations: 13.91 kB / 0.9871 GB, free: 7.32 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.0001131/0.6886, allocations: 203.1 kB / 0.9872 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.004e-05/0.6887, allocations: 66.56 kB / 0.9873 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006734/0.6894, allocations: 428.1 kB / 0.9877 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.6894, allocations: 7.188 kB / 0.9877 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.6894, allocations: 2.781 kB / 0.9877 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005365/0.69, allocations: 429 kB / 0.9881 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.6914, allocations: 1.167 MB / 0.9893 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6914, allocations: 2.531 kB / 0.9893 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003826/0.6918, allocations: 90.19 kB / 0.9894 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.6918, allocations: 9 kB / 0.9894 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.6919, allocations: 6.781 kB / 0.9894 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.6919, allocations: 4.656 kB / 0.9894 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6919, allocations: 1.172 kB / 0.9894 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009247/0.6928, allocations: 0.7287 MB / 0.9901 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.693, allocations: 180.6 kB / 0.9903 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.915e-05/0.6931, allocations: 7.875 kB / 0.9903 GB, free: 5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/0.6935, allocations: 28.38 kB / 0.9903 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.6936, allocations: 22.12 kB / 0.9903 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.6936, allocations: 21.77 kB / 0.9903 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003233/0.6939, allocations: 366.2 kB / 0.9907 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6939, allocations: 0 / 0.9907 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006335/0.6946, allocations: 316.9 kB / 0.991 GB, free: 4.691 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.001375/0.696, allocations: 1.349 MB / 0.9923 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008811/0.6969, allocations: 0.5416 MB / 0.9928 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6969, allocations: 6.656 kB / 0.9929 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002579/0.6971, allocations: 178.1 kB / 0.993 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.6985, allocations: 361.2 kB / 0.9934 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004917/0.7035, allocations: 4.732 MB / 0.998 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.7039, allocations: 0.9289 MB / 0.9989 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004965/0.7044, allocations: 178.4 kB / 0.9991 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.7046, allocations: 219.8 kB / 0.9993 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.7046, allocations: 0 / 0.9993 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6508/1.355, allocations: 16.69 MB / 1.016 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.142/9.498, allocations: 14.66 kB / 1.016 GB, free: 6.633 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)