Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.682/1.682, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.001111/0.001111, allocations: 172.9 kB / 361.4 MB, free: 6.875 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.593/1.593, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0009342/0.000934, allocations: 91.66 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.254e-05/2.255e-05, allocations: 4 kB / 0.8518 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6977/0.6978, allocations: 115.3 MB / 0.9644 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.668/5.366, allocations: 2.077 GB / 3.041 GB, free: 84.27 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/5.366, allocations: 87.95 kB / 3.041 GB, free: 84.18 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.044/7.41, allocations: 476.7 MB / 3.507 GB, free: 229.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.813e-06/7.41, allocations: 3.312 kB / 3.507 GB, free: 229.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001006/7.41, allocations: 22.78 kB / 3.507 GB, free: 229.4 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.002875/7.413, allocations: 0.97 MB / 3.508 GB, free: 229.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/7.413, allocations: 9.062 kB / 3.508 GB, free: 229.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/7.415, allocations: 210.7 kB / 3.508 GB, free: 229 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/7.416, allocations: 0.6113 MB / 3.509 GB, free: 228.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/7.417, allocations: 14.16 kB / 3.509 GB, free: 228.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/7.417, allocations: 32.73 kB / 3.509 GB, free: 228.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008627/7.418, allocations: 366.6 kB / 3.509 GB, free: 228.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008408/7.418, allocations: 401 kB / 3.509 GB, free: 228.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/7.418, allocations: 0 / 3.509 GB, free: 228.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.836e-05/7.418, allocations: 0 / 3.509 GB, free: 228.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.464e-05/7.419, allocations: 16.8 kB / 3.509 GB, free: 228.7 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.003243/7.422, allocations: 1.896 MB / 3.511 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005125/7.422, allocations: 301.3 kB / 3.512 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/7.423, allocations: 180.3 kB / 3.512 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002915/7.423, allocations: 193.9 kB / 3.512 GB, free: 227.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/7.423, allocations: 43.58 kB / 3.512 GB, free: 227.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 2.465e-06/7.423, allocations: 1.25 kB / 3.512 GB, free: 227.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001057/7.424, allocations: 360.6 kB / 3.512 GB, free: 227.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/7.424, allocations: 57.42 kB / 3.512 GB, free: 227.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005836/7.425, allocations: 373.2 kB / 3.513 GB, free: 227.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/7.425, allocations: 25.7 kB / 3.513 GB, free: 227.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/7.425, allocations: 311.5 kB / 3.513 GB, free: 227.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/7.425, allocations: 116 kB / 3.513 GB, free: 227.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.774e-05/7.425, allocations: 0 / 3.513 GB, free: 227.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001203/7.425, allocations: 361.2 kB / 3.513 GB, free: 226.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/7.425, allocations: 110.2 kB / 3.514 GB, free: 226.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/7.426, allocations: 205.7 kB / 3.514 GB, free: 226.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/7.426, allocations: 138.2 kB / 3.514 GB, free: 226.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/7.426, allocations: 0.9062 kB / 3.514 GB, free: 226.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006468/7.427, allocations: 361.5 kB / 3.514 GB, free: 226.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/7.427, allocations: 368.5 kB / 3.515 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/7.427, allocations: 3.188 kB / 3.515 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/7.427, allocations: 3.312 kB / 3.515 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/7.427, allocations: 75.69 kB / 3.515 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/7.427, allocations: 6 kB / 3.515 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006549/7.428, allocations: 57.88 kB / 3.515 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/7.428, allocations: 14.97 kB / 3.515 GB, free: 226.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/7.428, allocations: 4.938 kB / 3.515 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000484/7.428, allocations: 266.5 kB / 3.515 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/7.428, allocations: 2.109 kB / 3.515 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.353e-06/7.428, allocations: 5.531 kB / 3.515 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/7.429, allocations: 73.47 kB / 3.515 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/7.429, allocations: 5.547 kB / 3.515 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006173/7.429, allocations: 51.83 kB / 3.515 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/7.43, allocations: 13.72 kB / 3.515 GB, free: 226.2 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.0001173/7.43, allocations: 116.9 kB / 3.515 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005863/7.43, allocations: 338.4 kB / 3.516 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/7.43, allocations: 51.2 kB / 3.516 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006525/7.431, allocations: 359.8 kB / 3.516 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/7.431, allocations: 4.203 kB / 3.516 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.905e-05/7.431, allocations: 2.438 kB / 3.516 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004844/7.432, allocations: 379.8 kB / 3.516 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/7.433, allocations: 1.044 MB / 3.517 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/7.433, allocations: 1.5 kB / 3.517 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004245/7.434, allocations: 89.28 kB / 3.517 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/7.434, allocations: 4.328 kB / 3.517 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/7.434, allocations: 4.25 kB / 3.517 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/7.434, allocations: 9.062 kB / 3.517 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/7.434, allocations: 3.812 kB / 3.517 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008115/7.435, allocations: 0.7197 MB / 3.518 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002648/7.435, allocations: 171.7 kB / 3.518 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/7.435, allocations: 5.391 kB / 3.518 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005709/7.436, allocations: 49.48 kB / 3.518 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/7.436, allocations: 27.62 kB / 3.518 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/7.436, allocations: 14.22 kB / 3.518 GB, free: 225.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003362/7.436, allocations: 292.6 kB / 3.519 GB, free: 225 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.91e-07/7.436, allocations: 3.688 kB / 3.519 GB, free: 225 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001315/7.438, allocations: 405.2 kB / 3.519 GB, free: 224.9 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.003225/7.441, allocations: 2.996 MB / 3.522 GB, free: 223.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007742/7.442, allocations: 470.5 kB / 3.522 GB, free: 223.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/7.442, allocations: 3.75 kB / 3.523 GB, free: 223.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002133/7.442, allocations: 153.9 kB / 3.523 GB, free: 223.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/7.443, allocations: 338.9 kB / 3.523 GB, free: 223.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/7.446, allocations: 1.113 MB / 3.524 GB, free: 223.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/7.446, allocations: 0.9443 MB / 3.525 GB, free: 222.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008927/7.447, allocations: 205.7 kB / 3.525 GB, free: 222.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/7.447, allocations: 208.2 kB / 3.525 GB, free: 222.4 MB / 0.948 GB Notification: Performance of SimCode: time 8.11e-07/7.447, allocations: 0 / 3.525 GB, free: 222.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0712/7.519, allocations: 25.18 MB / 3.55 GB, free: 222.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/7.519, allocations: 165.8 kB / 3.55 GB, free: 221.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.004/10.52, allocations: 3.375 kB / 3.55 GB, free: 221.9 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)