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.001206/0.001206, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001227/0.001227, allocations: 188.8 kB / 16.25 MB, free: 6.625 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.178/1.178, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.611/1.611, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001253/0.001254, allocations: 69.78 kB / 0.6711 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1574, allocations: 114.6 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.4457/0.6031, allocations: 180.8 MB / 0.9596 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005704/0.6088, allocations: 4.8 MB / 0.9643 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004474/0.6093, allocations: 26.38 kB / 0.9643 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009037/0.6102, allocations: 382.2 kB / 0.9646 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002577/0.6128, allocations: 1.318 MB / 0.9659 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.6142, allocations: 0.7019 MB / 0.9666 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001448/0.6157, allocations: 1.849 MB / 0.9684 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005497/0.6162, allocations: 0.5752 MB / 0.969 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.6174, allocations: 0.8704 MB / 0.9698 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008538/0.6183, allocations: 0.5697 MB / 0.9704 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.44e-05/0.6184, allocations: 64.38 kB / 0.9705 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.6201, allocations: 1.464 MB / 0.9719 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.6203, allocations: 265.7 kB / 0.9721 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003099/0.6206, allocations: 403.4 kB / 0.9725 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.622, allocations: 1.489 MB / 0.974 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.622, allocations: 0 / 0.974 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.022e-06/0.622, allocations: 0 / 0.974 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.622, allocations: 0 / 0.974 GB, free: 5.094 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.001436/0.6235, allocations: 1.1 MB / 0.975 GB, free: 20.42 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.6235, allocations: 12.88 kB / 0.9751 GB, free: 20.42 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.327e-05/0.6236, allocations: 88.83 kB / 0.9751 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.6248, allocations: 211.7 kB / 0.9753 GB, free: 20.34 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006682/0.6254, allocations: 0.5801 MB / 0.9759 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.6255, allocations: 35.66 kB / 0.9759 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.891e-05/0.6256, allocations: 49.91 kB / 0.976 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007413/0.6263, allocations: 497 kB / 0.9765 GB, free: 20 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.6263, allocations: 0 / 0.9765 GB, free: 20 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/0.6264, allocations: 22.28 kB / 0.9765 GB, free: 19.99 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.6264, allocations: 19.97 kB / 0.9765 GB, free: 19.99 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006551/0.6271, allocations: 438.6 kB / 0.9769 GB, free: 19.98 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.002023/0.6291, allocations: 1.996 MB / 0.9789 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/0.6296, allocations: 345.7 kB / 0.9792 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.6298, allocations: 213.8 kB / 0.9794 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002481/0.6301, allocations: 191.5 kB / 0.9796 GB, free: 18.76 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.6301, allocations: 42.41 kB / 0.9796 GB, free: 18.72 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=33): time 1.373e-06/0.6301, allocations: 0 / 0.9796 GB, free: 18.72 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.001002/0.6311, allocations: 0.5354 MB / 0.9802 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.6312, allocations: 59.47 kB / 0.9802 GB, free: 18.58 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004336/0.6316, allocations: 0.5004 MB / 0.9807 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.6317, allocations: 36.58 kB / 0.9807 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.6318, allocations: 306.7 kB / 0.981 GB, free: 18.29 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.849e-05/0.6319, allocations: 115.5 kB / 0.9811 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.464e-05/0.632, allocations: 73.94 kB / 0.9812 GB, free: 18.2 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.6321, allocations: 364.4 kB / 0.9816 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.6324, allocations: 141 kB / 0.9817 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.6326, allocations: 227.4 kB / 0.9819 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004579/0.6331, allocations: 335.3 kB / 0.9822 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6331, allocations: 0 / 0.9822 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006039/0.6337, allocations: 431.3 kB / 0.9826 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.6337, allocations: 5.562 kB / 0.9826 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.6337, allocations: 1.281 kB / 0.9826 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.6337, allocations: 2.531 kB / 0.9826 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.6341, allocations: 72.78 kB / 0.9827 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.6341, allocations: 2.375 kB / 0.9827 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.6345, allocations: 64.34 kB / 0.9828 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.6346, allocations: 13.44 kB / 0.9828 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003664/0.635, allocations: 302.6 kB / 0.9831 GB, free: 17.58 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002347/0.6352, allocations: 224.1 kB / 0.9833 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004413/0.6356, allocations: 335.4 kB / 0.9836 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.6357, allocations: 0.8438 kB / 0.9836 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005576/0.6362, allocations: 420.7 kB / 0.984 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.881e-06/0.6362, allocations: 4.844 kB / 0.984 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-06/0.6362, allocations: 0 / 0.984 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-06/0.6362, allocations: 2.531 kB / 0.984 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.6365, allocations: 76.75 kB / 0.9841 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.6365, allocations: 7.031 kB / 0.9841 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/0.637, allocations: 57.27 kB / 0.9842 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.637, allocations: 17.91 kB / 0.9842 GB, free: 17.37 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.0001094/0.6371, allocations: 197.2 kB / 0.9844 GB, free: 17.19 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.823e-05/0.6372, allocations: 55.91 kB / 0.9844 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006125/0.6378, allocations: 423.1 kB / 0.9848 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.6378, allocations: 9.828 kB / 0.9848 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.6378, allocations: 2.5 kB / 0.9848 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000479/0.6383, allocations: 436 kB / 0.9852 GB, free: 16.94 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.6397, allocations: 1.17 MB / 0.9864 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.6397, allocations: 2.469 kB / 0.9864 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003723/0.6401, allocations: 83.14 kB / 0.9865 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.6401, allocations: 4 kB / 0.9865 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.6401, allocations: 14.41 kB / 0.9865 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.6401, allocations: 2.656 kB / 0.9865 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.6401, allocations: 2.656 kB / 0.9865 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009143/0.641, allocations: 0.7318 MB / 0.9872 GB, free: 16.35 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.6412, allocations: 175.8 kB / 0.9874 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/0.6413, allocations: 10.27 kB / 0.9874 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/0.6418, allocations: 49.78 kB / 0.9874 GB, free: 16.21 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.6418, allocations: 28.08 kB / 0.9875 GB, free: 16.21 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.6419, allocations: 18.72 kB / 0.9875 GB, free: 16.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003017/0.6422, allocations: 365.7 kB / 0.9878 GB, free: 16.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6422, allocations: 0 / 0.9878 GB, free: 16.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006555/0.6428, allocations: 318.5 kB / 0.9881 GB, free: 16.07 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.001281/0.6441, allocations: 1.361 MB / 0.9895 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007755/0.6449, allocations: 0.5364 MB / 0.99 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6449, allocations: 0 / 0.99 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.6452, allocations: 186.7 kB / 0.9902 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.6465, allocations: 357.9 kB / 0.9905 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004682/0.6512, allocations: 4.927 MB / 0.9953 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.6516, allocations: 0.9298 MB / 0.9962 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004938/0.6521, allocations: 179.6 kB / 0.9964 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.6523, allocations: 215.4 kB / 0.9966 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of SimCode: time 2.91e-07/0.6523, allocations: 4 kB / 0.9966 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5565/1.209, allocations: 16.51 MB / 1.013 GB, free: 5.305 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003032/1.209, allocations: 227.2 kB / 1.013 GB, free: 5.047 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/3.294, allocations: 3.938 kB / 1.013 GB, free: 5.043 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)