Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7322/0.7322, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001294/0.001294, allocations: 184.9 kB / 169.7 MB, free: 1.734 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.1 MB / 404.5 MB, free: 1.594 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009926/0.0009924, allocations: 90.41 kB / 481.8 MB, free: 4.234 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.635e-05/3.64e-05, allocations: 0 / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1409, allocations: 76.76 MB / 0.6282 GB, free: 9.934 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.981/5.122, allocations: 2.154 GB / 2.782 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/5.122, allocations: 87.95 kB / 2.782 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.688/6.81, allocations: 480.7 MB / 3.251 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 9.02e-07/6.81, allocations: 0 / 3.251 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.467e-05/6.81, allocations: 23.92 kB / 3.251 GB, free: 128.4 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001819/6.812, allocations: 0.9674 MB / 3.252 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/6.812, allocations: 13.31 kB / 3.252 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001035/6.812, allocations: 89.28 kB / 3.253 GB, free: 127.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/6.813, allocations: 206.1 kB / 3.253 GB, free: 127.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/6.815, allocations: 0.6423 MB / 3.253 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/6.815, allocations: 37.97 kB / 3.253 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.58e-05/6.815, allocations: 46.16 kB / 3.253 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/6.816, allocations: 0.5357 MB / 3.254 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/6.816, allocations: 7.812 kB / 3.254 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.916e-05/6.816, allocations: 15.72 kB / 3.254 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/6.816, allocations: 15.94 kB / 3.254 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/6.817, allocations: 465.1 kB / 3.254 GB, free: 127.5 MB / 0.6511 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.002385/6.82, allocations: 1.997 MB / 3.256 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000889/6.82, allocations: 403.5 kB / 3.257 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/6.821, allocations: 181.7 kB / 3.257 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002745/6.821, allocations: 192.3 kB / 3.257 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/6.821, allocations: 36.66 kB / 3.257 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 2.845e-06/6.821, allocations: 3.625 kB / 3.257 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.001706/6.823, allocations: 0.5143 MB / 3.258 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/6.823, allocations: 65.73 kB / 3.258 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004531/6.823, allocations: 427.7 kB / 3.258 GB, free: 126 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/6.823, allocations: 36.33 kB / 3.258 GB, free: 126 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/6.823, allocations: 317.1 kB / 3.258 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.865e-05/6.824, allocations: 117.4 kB / 3.259 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/6.824, allocations: 9.781 kB / 3.259 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.588e-05/6.824, allocations: 363.3 kB / 3.259 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/6.824, allocations: 125.2 kB / 3.259 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/6.824, allocations: 216.9 kB / 3.259 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/6.824, allocations: 157.9 kB / 3.259 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/6.824, allocations: 3.969 kB / 3.259 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005541/6.825, allocations: 398.1 kB / 3.26 GB, free: 125.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.725e-05/6.825, allocations: 365.6 kB / 3.26 GB, free: 125 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/6.825, allocations: 0 / 3.26 GB, free: 125 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/6.825, allocations: 3.75 kB / 3.26 GB, free: 125 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004706/6.826, allocations: 97.5 kB / 3.26 GB, free: 125 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/6.826, allocations: 0 / 3.26 GB, free: 125 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007281/6.826, allocations: 83.06 kB / 3.26 GB, free: 125 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/6.826, allocations: 18.62 kB / 3.26 GB, free: 125 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/6.826, allocations: 3.906 kB / 3.26 GB, free: 125 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004415/6.827, allocations: 300 kB / 3.261 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/6.827, allocations: 7.25 kB / 3.261 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-06/6.827, allocations: 6.984 kB / 3.261 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/6.827, allocations: 75.95 kB / 3.261 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/6.827, allocations: 3.906 kB / 3.261 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/6.828, allocations: 60.42 kB / 3.261 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/6.828, allocations: 19.39 kB / 3.261 GB, free: 124.9 MB / 0.6511 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 0.0001078/6.828, allocations: 121.3 kB / 3.261 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.102e-05/6.828, allocations: 61.75 kB / 3.261 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/6.828, allocations: 62.81 kB / 3.261 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/6.828, allocations: 7.891 kB / 3.261 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/6.828, allocations: 5.891 kB / 3.261 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004966/6.829, allocations: 421.6 kB / 3.261 GB, free: 124.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/6.83, allocations: 1.172 MB / 3.263 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/6.83, allocations: 3.938 kB / 3.263 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004902/6.831, allocations: 108.3 kB / 3.263 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/6.831, allocations: 3.594 kB / 3.263 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/6.831, allocations: 11.12 kB / 3.263 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/6.831, allocations: 3.938 kB / 3.263 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/6.831, allocations: 3.25 kB / 3.263 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008284/6.832, allocations: 0.7699 MB / 3.263 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/6.832, allocations: 181.5 kB / 3.264 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/6.832, allocations: 7.094 kB / 3.264 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005634/6.832, allocations: 64.34 kB / 3.264 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/6.833, allocations: 25.58 kB / 3.264 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/6.833, allocations: 15.34 kB / 3.264 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003454/6.833, allocations: 345.1 kB / 3.264 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/6.833, allocations: 3.562 kB / 3.264 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00126/6.834, allocations: 441.2 kB / 3.265 GB, free: 123.7 MB / 0.6511 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 () * 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.002846/6.837, allocations: 2.897 MB / 3.267 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008281/6.838, allocations: 0.4935 MB / 3.268 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/6.838, allocations: 6.922 kB / 3.268 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/6.838, allocations: 169.7 kB / 3.268 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/6.84, allocations: 363.7 kB / 3.268 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/6.842, allocations: 1.143 MB / 3.269 GB, free: 121.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/6.842, allocations: 0.9478 MB / 3.27 GB, free: 121.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008959/6.843, allocations: 224.9 kB / 3.271 GB, free: 121.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/6.844, allocations: 211.4 kB / 3.271 GB, free: 121.1 MB / 0.6511 GB Notification: Performance of SimCode: time 8.92e-07/6.844, allocations: 0 / 3.271 GB, free: 121.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06365/6.907, allocations: 40.75 MB / 3.311 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/6.907, allocations: 186.5 kB / 3.311 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.416/10.32, allocations: 0 / 3.311 GB, free: 118.2 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Delays_Examples_Delay.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)