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.001317/0.001317, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001499/0.001499, allocations: 195.9 kB / 16.14 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.278/1.278, allocations: 205.1 MB / 222 MB, free: 4.98 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.515/1.515, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001269/0.001269, allocations: 74.83 kB / 0.6709 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1559, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.5177/0.6737, allocations: 181 MB / 0.9595 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005699/0.6794, allocations: 4.899 MB / 0.9643 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004655/0.6799, allocations: 26.41 kB / 0.9643 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009012/0.6808, allocations: 378.8 kB / 0.9647 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002315/0.6831, allocations: 1.321 MB / 0.966 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.6844, allocations: 0.6917 MB / 0.9667 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00174/0.6862, allocations: 2.524 MB / 0.9691 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005086/0.6867, allocations: 0.5043 MB / 0.9696 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.6878, allocations: 0.7737 MB / 0.9704 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000856/0.6887, allocations: 0.5605 MB / 0.9709 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.049e-05/0.6888, allocations: 31.09 kB / 0.971 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.6908, allocations: 1.61 MB / 0.9725 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.691, allocations: 243.2 kB / 0.9728 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.6913, allocations: 374.8 kB / 0.9731 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.6926, allocations: 1.46 MB / 0.9745 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.6926, allocations: 0 / 0.9745 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.61e-07/0.6926, allocations: 4 kB / 0.9746 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.6927, allocations: 0 / 0.9746 GB, free: 4.91 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.001445/0.6941, allocations: 1.101 MB / 0.9756 GB, free: 20.24 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.6941, allocations: 9.188 kB / 0.9756 GB, free: 20.24 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.671e-05/0.6942, allocations: 92.34 kB / 0.9757 GB, free: 20.2 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.6954, allocations: 209.3 kB / 0.9759 GB, free: 20.15 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006644/0.696, allocations: 0.573 MB / 0.9765 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.6961, allocations: 35.88 kB / 0.9765 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.434e-05/0.6962, allocations: 54.41 kB / 0.9766 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007166/0.6969, allocations: 498.1 kB / 0.977 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.6969, allocations: 3.094 kB / 0.977 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.203e-05/0.6969, allocations: 18.94 kB / 0.9771 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.697, allocations: 16.09 kB / 0.9771 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006604/0.6976, allocations: 438.3 kB / 0.9775 GB, free: 19.8 MB / 0.7481 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.001984/0.6996, allocations: 1.997 MB / 0.9794 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/0.7001, allocations: 353.6 kB / 0.9798 GB, free: 18.77 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.7004, allocations: 213.6 kB / 0.98 GB, free: 18.76 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000238/0.7006, allocations: 191.6 kB / 0.9802 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.7007, allocations: 41.78 kB / 0.9802 GB, free: 18.53 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=33): time 1.293e-06/0.7007, allocations: 0 / 0.9802 GB, free: 18.53 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.001031/0.7017, allocations: 0.5354 MB / 0.9807 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.7017, allocations: 58.66 kB / 0.9808 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004325/0.7022, allocations: 0.5013 MB / 0.9813 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.7022, allocations: 36.42 kB / 0.9813 GB, free: 18.24 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.7024, allocations: 303.6 kB / 0.9816 GB, free: 18.1 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.71e-05/0.7024, allocations: 115.3 kB / 0.9817 GB, free: 18.03 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.326e-05/0.7025, allocations: 74.97 kB / 0.9818 GB, free: 18.01 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.7026, allocations: 367.1 kB / 0.9821 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.7029, allocations: 141.8 kB / 0.9823 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.7031, allocations: 219 kB / 0.9825 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004678/0.7036, allocations: 334.1 kB / 0.9828 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7036, allocations: 2.625 kB / 0.9828 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006085/0.7042, allocations: 429.4 kB / 0.9832 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.7043, allocations: 5.031 kB / 0.9832 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.7043, allocations: 1.156 kB / 0.9832 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.7043, allocations: 2.219 kB / 0.9832 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.7046, allocations: 78.94 kB / 0.9833 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.7046, allocations: 6.094 kB / 0.9833 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000473/0.7051, allocations: 58.53 kB / 0.9834 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.7051, allocations: 13.44 kB / 0.9834 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000569/0.7057, allocations: 308.9 kB / 0.9837 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003919/0.7061, allocations: 214 kB / 0.9839 GB, free: 17.32 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007132/0.7069, allocations: 342.4 kB / 0.9842 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/0.7069, allocations: 0 / 0.9842 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0009257/0.7078, allocations: 422.9 kB / 0.9846 GB, free: 17.2 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.345e-06/0.7078, allocations: 5.094 kB / 0.9846 GB, free: 17.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.7078, allocations: 2.969 kB / 0.9846 GB, free: 17.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.546e-06/0.7078, allocations: 0 / 0.9846 GB, free: 17.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/0.7083, allocations: 72.83 kB / 0.9847 GB, free: 17.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.7083, allocations: 6.75 kB / 0.9847 GB, free: 17.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007427/0.7091, allocations: 62.88 kB / 0.9847 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.7091, allocations: 13.41 kB / 0.9848 GB, free: 17.18 MB / 0.7481 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.0001507/0.7093, allocations: 194.8 kB / 0.9849 GB, free: 17 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.7094, allocations: 58.22 kB / 0.985 GB, free: 16.97 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009485/0.7104, allocations: 426.4 kB / 0.9854 GB, free: 16.91 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.7104, allocations: 9.609 kB / 0.9854 GB, free: 16.91 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.7104, allocations: 0 / 0.9854 GB, free: 16.91 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008003/0.7112, allocations: 433.8 kB / 0.9858 GB, free: 16.75 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.7134, allocations: 1.173 MB / 0.987 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.7135, allocations: 4.906 kB / 0.987 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005941/0.7141, allocations: 86.92 kB / 0.9871 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.7141, allocations: 3.188 kB / 0.9871 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.7141, allocations: 14.88 kB / 0.9871 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.7141, allocations: 5.094 kB / 0.9871 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7141, allocations: 2.625 kB / 0.9871 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.7156, allocations: 0.7263 MB / 0.9878 GB, free: 16.15 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002925/0.7159, allocations: 173.5 kB / 0.988 GB, free: 16.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.7161, allocations: 12.59 kB / 0.988 GB, free: 16.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007457/0.7168, allocations: 48.64 kB / 0.988 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/0.7169, allocations: 20.3 kB / 0.988 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/0.717, allocations: 19.75 kB / 0.9881 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005032/0.7175, allocations: 366.4 kB / 0.9884 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7175, allocations: 2.625 kB / 0.9884 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00109/0.7186, allocations: 324 kB / 0.9887 GB, free: 15.88 MB / 0.7481 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.001943/0.7205, allocations: 1.364 MB / 0.99 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001215/0.7218, allocations: 0.5106 MB / 0.9905 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7218, allocations: 2.625 kB / 0.9905 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004063/0.7222, allocations: 177.6 kB / 0.9907 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/0.7247, allocations: 369.2 kB / 0.9911 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007738/0.7325, allocations: 4.922 MB / 0.9959 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/0.7331, allocations: 0.9254 MB / 0.9968 GB, free: 11 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008999/0.734, allocations: 177.2 kB / 0.9969 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003459/0.7343, allocations: 213.9 kB / 0.9972 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of SimCode: time 3.71e-07/0.7343, allocations: 4 kB / 0.9972 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.26/2.995, allocations: 16.25 MB / 1.013 GB, free: 4.359 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/2.995, allocations: 224 kB / 1.013 GB, free: 4.109 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.877/5.872, allocations: 0 / 1.013 GB, free: 4.109 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)