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.414/1.414, allocations: 252 MB / 267.3 MB, free: 10.84 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.001081/0.001081, allocations: 173.6 kB / 327 MB, free: 2.094 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.596/1.596, allocations: 205.4 MB / 0.578 GB, free: 20.1 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.0007343/0.0007342, allocations: 86.34 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003279, allocations: 12.16 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1977, allocations: 106.3 MB / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.6914/0.8892, allocations: 178.8 MB / 1.076 GB, free: 1.801 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009313/0.8986, allocations: 4.923 MB / 1.08 GB, free: 1.676 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.8999, allocations: 24.81 kB / 1.08 GB, free: 1.676 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.9013, allocations: 365.5 kB / 1.081 GB, free: 1.672 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004461/0.9057, allocations: 1.34 MB / 1.082 GB, free: 1.594 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002699/0.9084, allocations: 0.7193 MB / 1.083 GB, free: 1.57 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004729/0.9132, allocations: 2.59 MB / 1.085 GB, free: 1.566 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.9142, allocations: 0.4972 MB / 1.086 GB, free: 1.488 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.9165, allocations: 0.7932 MB / 1.087 GB, free: 1.477 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.918, allocations: 0.5472 MB / 1.087 GB, free: 1.477 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.9181, allocations: 32.25 kB / 1.087 GB, free: 1.469 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003489/0.9216, allocations: 1.61 MB / 1.089 GB, free: 1.453 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003498/0.922, allocations: 235 kB / 1.089 GB, free: 1.449 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006046/0.9226, allocations: 394 kB / 1.089 GB, free: 1.418 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002616/0.9252, allocations: 1.465 MB / 1.091 GB, free: 1.328 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.9253, allocations: 0 / 1.091 GB, free: 1.328 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9253, allocations: 2.594 kB / 1.091 GB, free: 1.328 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.9253, allocations: 0 / 1.091 GB, free: 1.328 MB / 0.698 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.001841/0.9271, allocations: 0.9683 MB / 1.092 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.9272, allocations: 9 kB / 1.092 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.9273, allocations: 91.81 kB / 1.092 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/0.9286, allocations: 211.4 kB / 1.092 GB, free: 16.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.9297, allocations: 0.5804 MB / 1.092 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/0.9298, allocations: 36.72 kB / 1.093 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.563e-05/0.9299, allocations: 48.09 kB / 1.093 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.9309, allocations: 0.5116 MB / 1.093 GB, free: 16.26 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.9309, allocations: 0 / 1.093 GB, free: 16.26 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.926e-05/0.931, allocations: 19 kB / 1.093 GB, free: 16.26 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.5e-05/0.931, allocations: 16.44 kB / 1.093 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008683/0.9319, allocations: 452.2 kB / 1.094 GB, free: 16.25 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.003176/0.9351, allocations: 2.015 MB / 1.095 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005515/0.9357, allocations: 365.5 kB / 1.096 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.936, allocations: 213.9 kB / 1.096 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003292/0.9363, allocations: 190.6 kB / 1.096 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.9364, allocations: 37.38 kB / 1.096 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.996e-06/0.9364, allocations: 4 kB / 1.096 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001287/0.9377, allocations: 0.5554 MB / 1.097 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.9378, allocations: 54.42 kB / 1.097 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006125/0.9384, allocations: 0.5113 MB / 1.097 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/0.9384, allocations: 35.73 kB / 1.097 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.9387, allocations: 299 kB / 1.098 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.9388, allocations: 119.3 kB / 1.098 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.9388, allocations: 3.875 kB / 1.098 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.939, allocations: 364.6 kB / 1.098 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.9393, allocations: 146.9 kB / 1.098 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.9396, allocations: 225.6 kB / 1.099 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/0.9401, allocations: 343.6 kB / 1.099 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.9402, allocations: 5.906 kB / 1.099 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007148/0.9409, allocations: 432.3 kB / 1.099 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.74e-05/0.941, allocations: 120.6 kB / 1.099 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.941, allocations: 0 / 1.099 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.941, allocations: 6.953 kB / 1.099 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.9414, allocations: 72.31 kB / 1.099 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.9414, allocations: 6.281 kB / 1.099 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006146/0.942, allocations: 64.89 kB / 1.1 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.942, allocations: 11.06 kB / 1.1 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.145e-06/0.9421, allocations: 14.81 kB / 1.1 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000551/0.9426, allocations: 349.2 kB / 1.1 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-06/0.9426, allocations: 0 / 1.1 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.898e-06/0.9426, allocations: 2.469 kB / 1.1 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.9429, allocations: 77.97 kB / 1.1 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.9429, allocations: 3.344 kB / 1.1 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005086/0.9435, allocations: 58.08 kB / 1.1 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.9435, allocations: 16.47 kB / 1.1 GB, free: 13.78 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004287/0.9439, allocations: 293 kB / 1.1 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.9441, allocations: 70.55 kB / 1.1 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007523/0.9448, allocations: 420.5 kB / 1.101 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.9448, allocations: 6.234 kB / 1.101 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.9448, allocations: 3.469 kB / 1.101 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006733/0.9455, allocations: 440.2 kB / 1.101 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.9473, allocations: 1.183 MB / 1.102 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.9473, allocations: 3.344 kB / 1.102 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000412/0.9478, allocations: 83.17 kB / 1.102 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.9478, allocations: 2.844 kB / 1.102 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.9478, allocations: 13.84 kB / 1.102 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.9478, allocations: 7.984 kB / 1.102 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.9478, allocations: 7.094 kB / 1.102 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.949, allocations: 0.7367 MB / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002372/0.9492, allocations: 182.4 kB / 1.103 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.943e-05/0.9493, allocations: 16.16 kB / 1.103 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005/0.9498, allocations: 55.11 kB / 1.103 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.498e-05/0.9499, allocations: 29.61 kB / 1.103 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.9499, allocations: 16.05 kB / 1.103 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003692/0.9503, allocations: 369.1 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9503, allocations: 0 / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007926/0.9511, allocations: 329.4 kB / 1.104 GB, free: 12.46 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001552/0.9527, allocations: 1.372 MB / 1.105 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009245/0.9536, allocations: 0.5171 MB / 1.106 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.9536, allocations: 3.5 kB / 1.106 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.9539, allocations: 182.6 kB / 1.106 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.9557, allocations: 363.5 kB / 1.107 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006266/0.962, allocations: 5.011 MB / 1.111 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/0.9626, allocations: 0.9352 MB / 1.112 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006821/0.9633, allocations: 182.9 kB / 1.112 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/0.9635, allocations: 217.8 kB / 1.113 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of SimCode: time 4.51e-07/0.9635, allocations: 1.859 kB / 1.113 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03531/0.9988, allocations: 16.23 MB / 1.129 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/0.9991, allocations: 231.8 kB / 1.129 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.697/3.696, allocations: 0 / 1.129 GB, free: 3.562 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)