Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.491/1.491, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 186.4 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.4 MB / 0.5777 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007743/0.0007743, allocations: 100.1 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003319, allocations: 12.86 kB / 0.7964 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2256, allocations: 106.3 MB / 0.9003 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.7581/0.9838, allocations: 166.8 MB / 1.063 GB, free: 4.273 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007348/0.9912, allocations: 4.617 MB / 1.068 GB, free: 4.184 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.9923, allocations: 26.62 kB / 1.068 GB, free: 4.184 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.9933, allocations: 289.2 kB / 1.068 GB, free: 4.176 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003134/0.9965, allocations: 1.038 MB / 1.069 GB, free: 4.133 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.9987, allocations: 0.6172 MB / 1.07 GB, free: 4.113 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003345/1.002, allocations: 2.197 MB / 1.072 GB, free: 4.109 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/1.003, allocations: 457.2 kB / 1.072 GB, free: 4.043 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002737/1.006, allocations: 0.7308 MB / 1.073 GB, free: 4.039 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/1.007, allocations: 0.5269 MB / 1.073 GB, free: 4.035 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000118/1.008, allocations: 28.22 kB / 1.073 GB, free: 4.035 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003398/1.011, allocations: 0.8659 MB / 1.074 GB, free: 4.02 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000398/1.011, allocations: 237 kB / 1.075 GB, free: 4.02 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006802/1.012, allocations: 172.4 kB / 1.075 GB, free: 19.99 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002195/1.014, allocations: 0.972 MB / 1.076 GB, free: 19.91 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.014, allocations: 0 / 1.076 GB, free: 19.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.953e-06/1.014, allocations: 0.75 kB / 1.076 GB, free: 19.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.188e-05/1.014, allocations: 0 / 1.076 GB, free: 19.91 MB / 0.7136 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.002046/1.016, allocations: 0.9834 MB / 1.077 GB, free: 19.26 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/1.016, allocations: 8.906 kB / 1.077 GB, free: 19.26 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/1.017, allocations: 91.97 kB / 1.077 GB, free: 19.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/1.018, allocations: 212.5 kB / 1.077 GB, free: 19.17 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/1.019, allocations: 0.5493 MB / 1.077 GB, free: 18.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/1.019, allocations: 39.19 kB / 1.078 GB, free: 18.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/1.019, allocations: 53 kB / 1.078 GB, free: 18.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/1.02, allocations: 0.4976 MB / 1.078 GB, free: 18.87 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/1.02, allocations: 2.906 kB / 1.078 GB, free: 18.87 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.889e-05/1.02, allocations: 21.56 kB / 1.078 GB, free: 18.87 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.628e-05/1.02, allocations: 16.62 kB / 1.078 GB, free: 18.86 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/1.021, allocations: 449 kB / 1.079 GB, free: 18.85 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002996/1.025, allocations: 2.018 MB / 1.08 GB, free: 17.85 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006463/1.025, allocations: 353.2 kB / 1.081 GB, free: 17.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/1.026, allocations: 209 kB / 1.081 GB, free: 17.81 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003278/1.026, allocations: 191.9 kB / 1.081 GB, free: 17.62 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/1.026, allocations: 45.38 kB / 1.081 GB, free: 17.58 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.435e-06/1.026, allocations: 0 / 1.081 GB, free: 17.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001319/1.027, allocations: 0.5507 MB / 1.082 GB, free: 17.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/1.027, allocations: 56.06 kB / 1.082 GB, free: 17.44 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006689/1.028, allocations: 0.5014 MB / 1.082 GB, free: 17.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/1.028, allocations: 36.58 kB / 1.082 GB, free: 17.29 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000214/1.028, allocations: 303.6 kB / 1.083 GB, free: 17.15 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/1.028, allocations: 121.6 kB / 1.083 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.802e-05/1.028, allocations: 4.875 kB / 1.083 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001753/1.029, allocations: 371.3 kB / 1.083 GB, free: 16.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/1.029, allocations: 137.5 kB / 1.083 GB, free: 16.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/1.029, allocations: 220.3 kB / 1.083 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/1.03, allocations: 166.3 kB / 1.084 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.03, allocations: 0.9688 kB / 1.084 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007515/1.03, allocations: 434.9 kB / 1.084 GB, free: 16.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.734e-05/1.03, allocations: 113.4 kB / 1.084 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.03, allocations: 1.312 kB / 1.084 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.03, allocations: 2.625 kB / 1.084 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/1.031, allocations: 73.42 kB / 1.084 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/1.031, allocations: 5.25 kB / 1.084 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006155/1.031, allocations: 60.84 kB / 1.084 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/1.032, allocations: 13.81 kB / 1.084 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/1.032, allocations: 10.89 kB / 1.084 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006048/1.032, allocations: 349.7 kB / 1.085 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/1.032, allocations: 2.25 kB / 1.085 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.988e-06/1.032, allocations: 2.812 kB / 1.085 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/1.032, allocations: 79.42 kB / 1.085 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/1.033, allocations: 3.312 kB / 1.085 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004923/1.033, allocations: 59.67 kB / 1.085 GB, free: 16.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/1.033, allocations: 17.77 kB / 1.085 GB, free: 16.43 MB / 0.7136 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 () * Number of clocked 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.0003714/1.033, allocations: 296.6 kB / 1.085 GB, free: 16.24 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.884e-05/1.034, allocations: 62.55 kB / 1.085 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000804/1.034, allocations: 423.8 kB / 1.086 GB, free: 16.15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/1.034, allocations: 3.281 kB / 1.086 GB, free: 16.15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.034, allocations: 0 / 1.086 GB, free: 16.15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006278/1.035, allocations: 433.6 kB / 1.086 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/1.037, allocations: 1.187 MB / 1.087 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.037, allocations: 4.172 kB / 1.087 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004696/1.037, allocations: 87.7 kB / 1.087 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-06/1.037, allocations: 3.406 kB / 1.087 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/1.037, allocations: 11.11 kB / 1.087 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/1.037, allocations: 4 kB / 1.087 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.037, allocations: 3.906 kB / 1.087 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/1.039, allocations: 0.7369 MB / 1.088 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002603/1.039, allocations: 183.3 kB / 1.088 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.499e-05/1.039, allocations: 6.719 kB / 1.088 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005412/1.04, allocations: 58.67 kB / 1.088 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.419e-05/1.04, allocations: 31.83 kB / 1.088 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/1.04, allocations: 14.22 kB / 1.088 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005005/1.04, allocations: 367 kB / 1.089 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.5e-07/1.04, allocations: 0 / 1.089 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0011/1.041, allocations: 324.2 kB / 1.089 GB, free: 15.11 MB / 0.7136 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 () * Number of clocked 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.001672/1.043, allocations: 1.363 MB / 1.09 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009728/1.044, allocations: 0.5157 MB / 1.091 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.044, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002856/1.044, allocations: 181 kB / 1.091 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/1.046, allocations: 381.1 kB / 1.091 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005084/1.051, allocations: 3.536 MB / 1.095 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/1.052, allocations: 0.9359 MB / 1.096 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007234/1.052, allocations: 177.1 kB / 1.096 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/1.053, allocations: 214.4 kB / 1.096 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of SimCode: time 6.11e-07/1.053, allocations: 0 / 1.096 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04333/1.096, allocations: 16.79 MB / 1.112 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/1.096, allocations: 221.2 kB / 1.113 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.58/3.676, allocations: 0 / 1.113 GB, free: 8.387 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)