Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.453/2.453, allocations: 284.9 MB / 292.4 MB, free: 10.53 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 180.8 kB / 360.6 MB, free: 7.258 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.994/1.994, allocations: 205.2 MB / 0.6191 GB, free: 12.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 91.09 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.943e-05/2.956e-05, allocations: 4 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8114/0.8114, allocations: 115.3 MB / 0.9634 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.809/6.62, allocations: 2.077 GB / 3.04 GB, free: 42.24 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/6.621, allocations: 82.14 kB / 3.04 GB, free: 42.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.97/9.591, allocations: 476.7 MB / 3.506 GB, free: 227.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.924e-06/9.591, allocations: 0 / 3.506 GB, free: 227.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.112e-05/9.591, allocations: 19.73 kB / 3.506 GB, free: 227.1 MB / 0.948 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.002909/9.594, allocations: 0.9696 MB / 3.507 GB, free: 226.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/9.594, allocations: 10.16 kB / 3.507 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/9.596, allocations: 207.2 kB / 3.507 GB, free: 226.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002293/9.598, allocations: 0.6114 MB / 3.507 GB, free: 226.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/9.599, allocations: 17.81 kB / 3.507 GB, free: 226.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/9.599, allocations: 31.66 kB / 3.507 GB, free: 226.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001112/9.6, allocations: 365 kB / 3.508 GB, free: 226.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/9.601, allocations: 395.7 kB / 3.508 GB, free: 226.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/9.601, allocations: 0 / 3.508 GB, free: 226.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.424e-05/9.601, allocations: 1.406 kB / 3.508 GB, free: 226.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.414e-05/9.601, allocations: 20.31 kB / 3.508 GB, free: 226.3 MB / 0.948 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.004608/9.606, allocations: 1.908 MB / 3.51 GB, free: 225.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007221/9.606, allocations: 298.2 kB / 3.51 GB, free: 225.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004001/9.607, allocations: 182.2 kB / 3.511 GB, free: 225.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003922/9.607, allocations: 192.5 kB / 3.511 GB, free: 225.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/9.607, allocations: 37.23 kB / 3.511 GB, free: 225.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 2.685e-06/9.607, allocations: 3 kB / 3.511 GB, free: 225.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001497/9.609, allocations: 367.6 kB / 3.511 GB, free: 225.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/9.609, allocations: 55.39 kB / 3.511 GB, free: 225 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007374/9.61, allocations: 367.9 kB / 3.511 GB, free: 224.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.84e-05/9.61, allocations: 27.27 kB / 3.512 GB, free: 224.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/9.61, allocations: 316.2 kB / 3.512 GB, free: 224.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/9.61, allocations: 113.6 kB / 3.512 GB, free: 224.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/9.61, allocations: 0 / 3.512 GB, free: 224.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001298/9.61, allocations: 360.6 kB / 3.512 GB, free: 224.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/9.611, allocations: 109 kB / 3.512 GB, free: 224.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/9.611, allocations: 198 kB / 3.513 GB, free: 224.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003822/9.611, allocations: 151.1 kB / 3.513 GB, free: 224.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/9.611, allocations: 3.953 kB / 3.513 GB, free: 224.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009919/9.612, allocations: 373.9 kB / 3.513 GB, free: 224.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/9.613, allocations: 360.4 kB / 3.513 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/9.613, allocations: 1.5 kB / 3.513 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.068e-05/9.613, allocations: 2.812 kB / 3.513 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007282/9.613, allocations: 77.47 kB / 3.513 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/9.613, allocations: 6.391 kB / 3.513 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/9.615, allocations: 49.36 kB / 3.514 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.284e-05/9.615, allocations: 12.09 kB / 3.514 GB, free: 223.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/9.615, allocations: 4.5 kB / 3.514 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007637/9.615, allocations: 277.6 kB / 3.514 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/9.615, allocations: 2.219 kB / 3.514 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/9.616, allocations: 2.469 kB / 3.514 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006105/9.616, allocations: 72.16 kB / 3.514 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/9.616, allocations: 3.031 kB / 3.514 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/9.617, allocations: 53.31 kB / 3.514 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/9.617, allocations: 18.86 kB / 3.514 GB, free: 223.9 MB / 0.948 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.000189/9.618, allocations: 118.1 kB / 3.514 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008513/9.618, allocations: 335.7 kB / 3.514 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/9.619, allocations: 55.67 kB / 3.514 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009/9.619, allocations: 355.6 kB / 3.515 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/9.619, allocations: 3.812 kB / 3.515 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/9.619, allocations: 0 / 3.515 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006475/9.62, allocations: 385 kB / 3.515 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002592/9.623, allocations: 1.049 MB / 3.516 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/9.623, allocations: 0.6094 kB / 3.516 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008208/9.624, allocations: 87.52 kB / 3.516 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/9.624, allocations: 3.25 kB / 3.516 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-05/9.624, allocations: 12.16 kB / 3.516 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/9.624, allocations: 5.688 kB / 3.516 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/9.624, allocations: 3.188 kB / 3.516 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/9.625, allocations: 0.7192 MB / 3.517 GB, free: 222.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004843/9.626, allocations: 175.1 kB / 3.517 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/9.626, allocations: 7.688 kB / 3.517 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009536/9.627, allocations: 45.03 kB / 3.517 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/9.627, allocations: 28.61 kB / 3.517 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/9.627, allocations: 11.11 kB / 3.517 GB, free: 222.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005372/9.627, allocations: 292.3 kB / 3.518 GB, free: 222.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.61e-07/9.627, allocations: 0 / 3.518 GB, free: 222.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001771/9.629, allocations: 405.5 kB / 3.518 GB, free: 222.5 MB / 0.948 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.004418/9.634, allocations: 2.994 MB / 3.521 GB, free: 221.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001323/9.635, allocations: 457.8 kB / 3.521 GB, free: 221.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/9.635, allocations: 1.219 kB / 3.521 GB, free: 221.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003821/9.635, allocations: 165.4 kB / 3.521 GB, free: 221.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003237/9.639, allocations: 328.1 kB / 3.522 GB, free: 221.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003305/9.642, allocations: 1.112 MB / 3.523 GB, free: 220.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/9.643, allocations: 0.9447 MB / 3.524 GB, free: 220 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001487/9.644, allocations: 211.3 kB / 3.524 GB, free: 220 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004074/9.645, allocations: 209 kB / 3.524 GB, free: 220 MB / 0.948 GB Notification: Performance of SimCode: time 1.593e-06/9.645, allocations: 0 / 3.524 GB, free: 220 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08775/9.732, allocations: 25.17 MB / 3.549 GB, free: 219.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/9.733, allocations: 158.2 kB / 3.549 GB, free: 219.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.712/13.44, allocations: 6.125 kB / 3.549 GB, free: 219.4 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)