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.7534/0.7534, allocations: 127.4 MB / 134.9 MB, free: 3.527 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 180.8 kB / 164.6 MB, free: 11.62 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.561/1.561, allocations: 205.2 MB / 399.5 MB, free: 13.55 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.0008745/0.0008744, allocations: 95 kB / 476.7 MB, free: 1.527 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.026e-05/2.024e-05, allocations: 2.75 kB / 0.5467 GB, free: 95.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1474, allocations: 76.77 MB / 0.6216 GB, free: 43.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.16/5.307, allocations: 2.153 GB / 2.775 GB, free: 187 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/5.307, allocations: 88.92 kB / 2.775 GB, free: 187 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.244/6.552, allocations: 475.2 MB / 3.239 GB, free: 16.65 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.463e-06/6.552, allocations: 0 / 3.239 GB, free: 16.65 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.434e-05/6.552, allocations: 24 kB / 3.239 GB, free: 16.63 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.001606/6.553, allocations: 0.9654 MB / 3.24 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/6.553, allocations: 12.03 kB / 3.24 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/6.555, allocations: 198.9 kB / 3.24 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/6.556, allocations: 0.6595 MB / 3.241 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/6.556, allocations: 16 kB / 3.241 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.369e-05/6.556, allocations: 28 kB / 3.241 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005524/6.556, allocations: 370.5 kB / 3.241 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005765/6.557, allocations: 392.8 kB / 3.241 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/6.557, allocations: 7.906 kB / 3.241 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.208e-05/6.557, allocations: 3.953 kB / 3.241 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/6.557, allocations: 25.25 kB / 3.241 GB, free: 13.88 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.001998/6.559, allocations: 1.876 MB / 3.243 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003612/6.559, allocations: 315.5 kB / 3.244 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/6.56, allocations: 182.3 kB / 3.244 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/6.56, allocations: 186.5 kB / 3.244 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/6.56, allocations: 38.84 kB / 3.244 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/6.56, allocations: 4 kB / 3.244 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.001191/6.561, allocations: 439.2 kB / 3.244 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/6.561, allocations: 51.41 kB / 3.244 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/6.561, allocations: 369.4 kB / 3.245 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/6.562, allocations: 25.7 kB / 3.245 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/6.562, allocations: 307.9 kB / 3.245 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.477e-05/6.562, allocations: 114.3 kB / 3.245 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.011e-05/6.562, allocations: 0 / 3.245 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000104/6.562, allocations: 366.8 kB / 3.246 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/6.562, allocations: 120.6 kB / 3.246 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/6.562, allocations: 210.2 kB / 3.246 GB, free: 9.027 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/6.562, allocations: 147.8 kB / 3.246 GB, free: 8.883 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/6.562, allocations: 4.047 kB / 3.246 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004964/6.563, allocations: 380.6 kB / 3.246 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.102e-05/6.563, allocations: 364 kB / 3.247 GB, free: 8.117 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/6.563, allocations: 0 / 3.247 GB, free: 8.117 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/6.563, allocations: 7.984 kB / 3.247 GB, free: 8.109 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/6.564, allocations: 91.89 kB / 3.247 GB, free: 8.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/6.564, allocations: 4 kB / 3.247 GB, free: 8.016 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006369/6.564, allocations: 67.69 kB / 3.247 GB, free: 7.949 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/6.564, allocations: 19.98 kB / 3.247 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/6.564, allocations: 5.875 kB / 3.247 GB, free: 7.926 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003538/6.565, allocations: 267.7 kB / 3.247 GB, free: 7.664 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-06/6.565, allocations: 0 / 3.247 GB, free: 7.664 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.827e-06/6.565, allocations: 4 kB / 3.247 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/6.565, allocations: 75.98 kB / 3.247 GB, free: 7.586 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/6.565, allocations: 0 / 3.247 GB, free: 7.586 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/6.565, allocations: 59.64 kB / 3.247 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/6.565, allocations: 12 kB / 3.247 GB, free: 7.516 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 9.877e-05/6.566, allocations: 112.9 kB / 3.247 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004332/6.566, allocations: 344.8 kB / 3.248 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.262e-05/6.566, allocations: 51.44 kB / 3.248 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/6.566, allocations: 57.53 kB / 3.248 GB, free: 6.949 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/6.566, allocations: 7.984 kB / 3.248 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/6.566, allocations: 4 kB / 3.248 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003774/6.567, allocations: 396.8 kB / 3.248 GB, free: 6.52 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/6.568, allocations: 1.062 MB / 3.249 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/6.568, allocations: 8.188 kB / 3.249 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004994/6.568, allocations: 103.9 kB / 3.249 GB, free: 5.285 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/6.569, allocations: 4 kB / 3.249 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/6.569, allocations: 11.94 kB / 3.249 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/6.569, allocations: 7.875 kB / 3.249 GB, free: 5.262 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/6.569, allocations: 4 kB / 3.249 GB, free: 5.258 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007471/6.569, allocations: 0.7463 MB / 3.25 GB, free: 4.441 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/6.569, allocations: 172.4 kB / 3.25 GB, free: 4.254 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.035e-05/6.57, allocations: 11.94 kB / 3.25 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005589/6.57, allocations: 59.84 kB / 3.25 GB, free: 4.184 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/6.57, allocations: 31.91 kB / 3.25 GB, free: 4.152 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/6.57, allocations: 8 kB / 3.25 GB, free: 4.145 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002637/6.571, allocations: 290.9 kB / 3.251 GB, free: 3.863 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/6.571, allocations: 0 / 3.251 GB, free: 3.863 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001117/6.572, allocations: 407 kB / 3.251 GB, free: 3.465 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.002518/6.574, allocations: 3.037 MB / 3.254 GB, free: 332 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.3867/6.961, allocations: 475 kB / 3.255 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/6.961, allocations: 0 / 3.255 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003228/6.961, allocations: 166.3 kB / 3.255 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/6.963, allocations: 330.6 kB / 3.255 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/6.966, allocations: 1.098 MB / 3.256 GB, free: 127.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/6.966, allocations: 0.9453 MB / 3.257 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009803/6.967, allocations: 209.1 kB / 3.257 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/6.968, allocations: 212.7 kB / 3.257 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of SimCode: time 9.82e-07/6.968, allocations: 2.453 kB / 3.257 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06125/7.029, allocations: 25.84 MB / 3.283 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/7.029, allocations: 163.3 kB / 3.283 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.806/9.835, allocations: 0 / 3.283 GB, free: 125.9 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)