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.001217/0.001217, allocations: 109.4 kB / 15.69 MB, free: 128 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.001519/0.001519, allocations: 186.9 kB / 16.62 MB, free: 6.582 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.395/1.395, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.689/1.689, 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.001632/0.001632, allocations: 69.58 kB / 0.6718 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2228, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.5972/0.8201, allocations: 183.2 MB / 0.9626 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007852/0.828, allocations: 4.817 MB / 0.9673 GB, free: 172 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.8294, allocations: 29.16 kB / 0.9673 GB, free: 160 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.8307, allocations: 440.9 kB / 0.9677 GB, free: 12 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003841/0.8346, allocations: 1.413 MB / 0.9691 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.8368, allocations: 0.767 MB / 0.9698 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002432/0.8392, allocations: 1.832 MB / 0.9716 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008655/0.8401, allocations: 0.6014 MB / 0.9722 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0019/0.842, allocations: 0.869 MB / 0.9731 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.8437, allocations: 0.5418 MB / 0.9736 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001946/0.8439, allocations: 61.97 kB / 0.9737 GB, free: 15 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003523/0.8474, allocations: 1.414 MB / 0.975 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003064/0.8477, allocations: 265.7 kB / 0.9753 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005521/0.8483, allocations: 396.8 kB / 0.9757 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002187/0.8505, allocations: 1.425 MB / 0.9771 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.8505, allocations: 5.562 kB / 0.9771 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8505, allocations: 0 / 0.9771 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.8505, allocations: 0 / 0.9771 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.001709/0.8522, allocations: 1.093 MB / 0.9781 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.8523, allocations: 8.719 kB / 0.9781 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.965e-05/0.8524, allocations: 87.08 kB / 0.9782 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.8537, allocations: 213.9 kB / 0.9784 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008992/0.8546, allocations: 0.6072 MB / 0.979 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.8546, allocations: 37.69 kB / 0.9791 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-05/0.8547, allocations: 47.72 kB / 0.9791 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008362/0.8556, allocations: 0.4916 MB / 0.9796 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.8556, allocations: 0 / 0.9796 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.942e-05/0.8556, allocations: 22.28 kB / 0.9796 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.559e-05/0.8557, allocations: 15.84 kB / 0.9796 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007471/0.8564, allocations: 437.9 kB / 0.98 GB, free: 12.43 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.002459/0.8589, allocations: 1.992 MB / 0.982 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/0.8594, allocations: 359.2 kB / 0.9823 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.8598, allocations: 211.5 kB / 0.9825 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003109/0.8601, allocations: 189.9 kB / 0.9827 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.8601, allocations: 43.56 kB / 0.9828 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 1.903e-06/0.8601, allocations: 4 kB / 0.9828 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001408/0.8616, allocations: 0.5321 MB / 0.9833 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.8616, allocations: 59.59 kB / 0.9833 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005632/0.8622, allocations: 0.4981 MB / 0.9838 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.8622, allocations: 32.45 kB / 0.9838 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.8625, allocations: 313.4 kB / 0.9841 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.8626, allocations: 112.1 kB / 0.9843 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.8627, allocations: 76.33 kB / 0.9843 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.8629, allocations: 363.6 kB / 0.9847 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.8631, allocations: 141.8 kB / 0.9848 GB, free: 8.676 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/0.8635, allocations: 223.9 kB / 0.985 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005595/0.864, allocations: 338.9 kB / 0.9853 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.8641, allocations: 0 / 0.9853 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007067/0.8648, allocations: 429.6 kB / 0.9858 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.8648, allocations: 4.375 kB / 0.9858 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.8648, allocations: 3.062 kB / 0.9858 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.8648, allocations: 0 / 0.9858 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.8652, allocations: 73.84 kB / 0.9858 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.8652, allocations: 5.562 kB / 0.9858 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/0.8657, allocations: 50.81 kB / 0.9859 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.8657, allocations: 7.031 kB / 0.9859 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004567/0.8662, allocations: 304.5 kB / 0.9862 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003035/0.8665, allocations: 225.3 kB / 0.9864 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005107/0.867, allocations: 334.8 kB / 0.9867 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/0.867, allocations: 0 / 0.9867 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006956/0.8677, allocations: 423.3 kB / 0.9871 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.8678, allocations: 7.406 kB / 0.9871 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-06/0.8678, allocations: 0 / 0.9871 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.689e-06/0.8678, allocations: 2.781 kB / 0.9871 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.8681, allocations: 72.11 kB / 0.9872 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.8681, allocations: 6.594 kB / 0.9872 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004533/0.8686, allocations: 37.83 kB / 0.9872 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.8686, allocations: 8 kB / 0.9873 GB, free: 7.242 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.0001627/0.8688, allocations: 201.5 kB / 0.9874 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.8689, allocations: 62.41 kB / 0.9875 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007797/0.8697, allocations: 425.7 kB / 0.9879 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.8697, allocations: 8.781 kB / 0.9879 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.8697, allocations: 0 / 0.9879 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005925/0.8703, allocations: 443 kB / 0.9883 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.8721, allocations: 1.173 MB / 0.9895 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.8721, allocations: 0 / 0.9895 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003969/0.8725, allocations: 81.61 kB / 0.9896 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.8725, allocations: 4.531 kB / 0.9896 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.8725, allocations: 10.88 kB / 0.9896 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.8726, allocations: 8.844 kB / 0.9896 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8726, allocations: 0 / 0.9896 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009836/0.8736, allocations: 0.7241 MB / 0.9903 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/0.8738, allocations: 179.2 kB / 0.9905 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.678e-05/0.8739, allocations: 18.34 kB / 0.9905 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/0.8743, allocations: 25.03 kB / 0.9905 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.8744, allocations: 17.55 kB / 0.9905 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.8744, allocations: 18.36 kB / 0.9905 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003933/0.8748, allocations: 370.1 kB / 0.9909 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8748, allocations: 0 / 0.9909 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009916/0.8758, allocations: 317.1 kB / 0.9912 GB, free: 4.609 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.001936/0.8778, allocations: 1.361 MB / 0.9925 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009756/0.8788, allocations: 0.5093 MB / 0.993 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.8788, allocations: 0 / 0.993 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002868/0.8791, allocations: 182.7 kB / 0.9932 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.8806, allocations: 352.1 kB / 0.9935 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00587/0.8865, allocations: 4.617 MB / 0.998 GB, free: 12 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.887, allocations: 0.9297 MB / 0.9989 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005593/0.8875, allocations: 181 kB / 0.9991 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/0.8878, allocations: 217.3 kB / 0.9993 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of SimCode: time 5.61e-07/0.8878, allocations: 0 / 0.9993 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0379/0.9257, allocations: 16.72 MB / 1.016 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.412/9.338, allocations: 9.156 kB / 1.016 GB, free: 6.676 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)