Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Delays.Examples.Delay,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Delays.Examples.Delay,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5125/0.5125, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 221.3 MB / 348.3 MB, free: 500 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008776/0.0008776, allocations: 101.6 kB / 421.2 MB, free: 5.465 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.487e-05, allocations: 0 / 0.4897 GB, free: 5.258 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4405, allocations: 72.3 MB / 0.5603 GB, free: 40.41 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.898/5.339, allocations: 1.876 GB / 2.437 GB, free: 149.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/5.339, allocations: 91.14 kB / 2.437 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.663/7.002, allocations: 490.4 MB / 2.916 GB, free: 124.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 8.41e-07/7.002, allocations: 0 / 2.916 GB, free: 124.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.74e-05/7.002, allocations: 21.56 kB / 2.916 GB, free: 124.7 MB / 0.6042 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.00159/7.004, allocations: 0.983 MB / 2.917 GB, free: 123.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/7.004, allocations: 11.98 kB / 2.917 GB, free: 123.8 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.982e-05/7.004, allocations: 96.86 kB / 2.917 GB, free: 123.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/7.005, allocations: 198.9 kB / 2.917 GB, free: 123.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/7.006, allocations: 0.6294 MB / 2.917 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/7.006, allocations: 33 kB / 2.917 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.736e-05/7.006, allocations: 51.8 kB / 2.918 GB, free: 122.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006923/7.007, allocations: 462.4 kB / 2.918 GB, free: 122.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/7.007, allocations: 0 / 2.918 GB, free: 122.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.315e-05/7.007, allocations: 16 kB / 2.918 GB, free: 122.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/7.007, allocations: 20.98 kB / 2.918 GB, free: 122.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005349/7.008, allocations: 383.6 kB / 2.918 GB, free: 121.9 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.002157/7.01, allocations: 2.015 MB / 2.92 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/7.01, allocations: 314.8 kB / 2.921 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/7.01, allocations: 185.4 kB / 2.921 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002422/7.011, allocations: 194.5 kB / 2.921 GB, free: 119 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/7.011, allocations: 38.31 kB / 2.921 GB, free: 118.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.655e-06/7.011, allocations: 3.609 kB / 2.921 GB, free: 118.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.000733/7.011, allocations: 394.8 kB / 2.921 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/7.011, allocations: 55.41 kB / 2.921 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004245/7.012, allocations: 448 kB / 2.922 GB, free: 118 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/7.012, allocations: 33.7 kB / 2.922 GB, free: 118 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/7.012, allocations: 307.1 kB / 2.922 GB, free: 117.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.032e-05/7.012, allocations: 116 kB / 2.922 GB, free: 117.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/7.012, allocations: 8 kB / 2.922 GB, free: 117.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.446e-05/7.012, allocations: 366.8 kB / 2.923 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/7.012, allocations: 116.6 kB / 2.923 GB, free: 117.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/7.013, allocations: 197.2 kB / 2.923 GB, free: 116.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/7.013, allocations: 154.2 kB / 2.923 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/7.013, allocations: 0 / 2.923 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005021/7.013, allocations: 393.3 kB / 2.924 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.95e-05/7.014, allocations: 373.2 kB / 2.924 GB, free: 116 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/7.014, allocations: 0 / 2.924 GB, free: 116 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/7.014, allocations: 4 kB / 2.924 GB, free: 116 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/7.014, allocations: 71.84 kB / 2.924 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/7.014, allocations: 7.375 kB / 2.924 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005529/7.015, allocations: 70.86 kB / 2.924 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.215e-05/7.015, allocations: 19.94 kB / 2.924 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.822e-06/7.015, allocations: 4 kB / 2.924 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004257/7.015, allocations: 304 kB / 2.924 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-06/7.015, allocations: 0 / 2.924 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.749e-06/7.015, allocations: 7.812 kB / 2.924 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/7.015, allocations: 71.89 kB / 2.924 GB, free: 115.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/7.015, allocations: 7.938 kB / 2.924 GB, free: 115.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004742/7.016, allocations: 66.2 kB / 2.924 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/7.016, allocations: 12 kB / 2.924 GB, free: 115.3 MB / 0.6042 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.737e-05/7.016, allocations: 128 kB / 2.925 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.744e-05/7.016, allocations: 67.28 kB / 2.925 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000563/7.017, allocations: 387.1 kB / 2.925 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/7.017, allocations: 4 kB / 2.925 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/7.017, allocations: 0 / 2.925 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004125/7.017, allocations: 400.8 kB / 2.925 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/7.018, allocations: 1.145 MB / 2.927 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/7.018, allocations: 0 / 2.927 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003894/7.019, allocations: 87.89 kB / 2.927 GB, free: 113 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/7.019, allocations: 7.281 kB / 2.927 GB, free: 113 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/7.019, allocations: 11.98 kB / 2.927 GB, free: 113 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/7.019, allocations: 7.938 kB / 2.927 GB, free: 113 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/7.019, allocations: 2.5 kB / 2.927 GB, free: 113 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007609/7.02, allocations: 0.7214 MB / 2.927 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/7.02, allocations: 176.4 kB / 2.928 GB, free: 112 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.559e-05/7.02, allocations: 15.94 kB / 2.928 GB, free: 112 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004795/7.021, allocations: 49.08 kB / 2.928 GB, free: 112 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/7.021, allocations: 23.97 kB / 2.928 GB, free: 112 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/7.021, allocations: 27.62 kB / 2.928 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003446/7.021, allocations: 349.5 kB / 2.928 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/7.021, allocations: 0 / 2.928 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001254/7.022, allocations: 451.2 kB / 2.928 GB, free: 111.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00276/7.025, allocations: 2.839 MB / 2.931 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007372/7.026, allocations: 491.2 kB / 2.932 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/7.026, allocations: 4 kB / 2.932 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/7.026, allocations: 159.8 kB / 2.932 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/7.028, allocations: 363.6 kB / 2.932 GB, free: 107.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/7.03, allocations: 1.154 MB / 2.933 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/7.03, allocations: 0.9423 MB / 2.934 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007578/7.031, allocations: 231.8 kB / 2.934 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/7.031, allocations: 211.4 kB / 2.935 GB, free: 105 MB / 0.6042 GB Notification: Performance of SimCode: time 3.5e-07/7.031, allocations: 0 / 2.935 GB, free: 105 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05659/7.088, allocations: 40.13 MB / 2.974 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001378/7.088, allocations: 173.6 kB / 2.974 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.167/10.25, allocations: 8 kB / 2.974 GB, free: 65.05 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay.fmu > IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)