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.252/1.252, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0008186/0.0008186, allocations: 185.1 kB / 325.8 MB, free: 2.668 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.253/1.253, allocations: 205 MB / 0.576 GB, free: 20.93 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.0006567/0.0006567, allocations: 89.17 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002659/0.000266, allocations: 13 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1326, allocations: 105.4 MB / 0.8962 GB, free: 68.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.461/0.5937, allocations: 180.9 MB / 1.073 GB, free: 1.785 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00651/0.6002, allocations: 4.973 MB / 1.078 GB, free: 1.656 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005341/0.6008, allocations: 26.44 kB / 1.078 GB, free: 1.656 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.6019, allocations: 377.5 kB / 1.078 GB, free: 1.645 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003164/0.6051, allocations: 1.334 MB / 1.079 GB, free: 1.578 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.607, allocations: 0.7212 MB / 1.08 GB, free: 1.551 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002464/0.6094, allocations: 2.59 MB / 1.083 GB, free: 1.547 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005802/0.61, allocations: 0.4884 MB / 1.083 GB, free: 1.469 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.6112, allocations: 0.7888 MB / 1.084 GB, free: 1.457 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008775/0.6121, allocations: 0.5569 MB / 1.084 GB, free: 1.449 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.308e-05/0.6121, allocations: 28.94 kB / 1.084 GB, free: 1.449 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.6141, allocations: 1.607 MB / 1.086 GB, free: 1.434 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.6143, allocations: 230.8 kB / 1.086 GB, free: 1.434 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002968/0.6146, allocations: 362.9 kB / 1.087 GB, free: 1.434 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.6158, allocations: 1.473 MB / 1.088 GB, free: 1.348 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6158, allocations: 5.469 kB / 1.088 GB, free: 1.344 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6158, allocations: 1.75 kB / 1.088 GB, free: 1.344 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.6159, allocations: 0 / 1.088 GB, free: 1.344 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.001185/0.617, allocations: 0.9677 MB / 1.089 GB, free: 16.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.6171, allocations: 8.625 kB / 1.089 GB, free: 16.7 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.907e-05/0.6172, allocations: 95.11 kB / 1.089 GB, free: 16.65 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.6182, allocations: 212.1 kB / 1.089 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000676/0.6189, allocations: 0.5817 MB / 1.09 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.6189, allocations: 39.12 kB / 1.09 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.409e-05/0.619, allocations: 46.75 kB / 1.09 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007114/0.6197, allocations: 0.4987 MB / 1.09 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.6197, allocations: 5 kB / 1.09 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.6198, allocations: 19.31 kB / 1.09 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.6198, allocations: 20.16 kB / 1.09 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007066/0.6205, allocations: 450 kB / 1.091 GB, free: 16.26 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.002281/0.6228, allocations: 2.016 MB / 1.093 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000423/0.6233, allocations: 352.8 kB / 1.093 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.6235, allocations: 204.7 kB / 1.093 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002404/0.6238, allocations: 202.1 kB / 1.094 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.6238, allocations: 37.5 kB / 1.094 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 1.373e-06/0.6238, allocations: 0 / 1.094 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.0009449/0.6248, allocations: 0.5525 MB / 1.094 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.6248, allocations: 57.41 kB / 1.094 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.6252, allocations: 0.5109 MB / 1.095 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.6252, allocations: 32.64 kB / 1.095 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.6254, allocations: 316.3 kB / 1.095 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.325e-05/0.6255, allocations: 114.4 kB / 1.095 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.6255, allocations: 33.77 kB / 1.095 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.6256, allocations: 362.6 kB / 1.095 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.6259, allocations: 137.4 kB / 1.096 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.6261, allocations: 225.9 kB / 1.096 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004473/0.6266, allocations: 341.6 kB / 1.096 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6266, allocations: 0 / 1.096 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005565/0.6271, allocations: 440.3 kB / 1.097 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/0.6272, allocations: 112.6 kB / 1.097 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.6272, allocations: 3.234 kB / 1.097 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.6272, allocations: 7.938 kB / 1.097 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.6275, allocations: 75.62 kB / 1.097 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.309e-06/0.6275, allocations: 0 / 1.097 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004216/0.6279, allocations: 61.09 kB / 1.097 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.628, allocations: 13.94 kB / 1.097 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.188e-06/0.628, allocations: 6.031 kB / 1.097 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004788/0.6285, allocations: 352.9 kB / 1.097 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-06/0.6285, allocations: 4.859 kB / 1.097 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-06/0.6285, allocations: 14.97 kB / 1.097 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.6287, allocations: 71.56 kB / 1.097 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.6288, allocations: 3.406 kB / 1.097 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/0.6292, allocations: 64.78 kB / 1.097 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.6292, allocations: 10.81 kB / 1.097 GB, free: 13.79 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.0002143/0.6294, allocations: 296.5 kB / 1.098 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.312e-05/0.6295, allocations: 68.53 kB / 1.098 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005826/0.6301, allocations: 413.2 kB / 1.098 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6301, allocations: 6.594 kB / 1.098 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.6301, allocations: 0 / 1.098 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000491/0.6306, allocations: 449.6 kB / 1.099 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.632, allocations: 1.18 MB / 1.1 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.632, allocations: 2.031 kB / 1.1 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/0.6324, allocations: 88.47 kB / 1.1 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.6324, allocations: 5.422 kB / 1.1 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.6324, allocations: 10.48 kB / 1.1 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.6324, allocations: 6.656 kB / 1.1 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.6324, allocations: 2.906 kB / 1.1 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008427/0.6333, allocations: 0.7491 MB / 1.101 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.6335, allocations: 188.9 kB / 1.101 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.399e-05/0.6336, allocations: 6.406 kB / 1.101 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/0.634, allocations: 53.91 kB / 1.101 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.6341, allocations: 28.45 kB / 1.101 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.6341, allocations: 15.66 kB / 1.101 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000302/0.6344, allocations: 361.5 kB / 1.101 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6344, allocations: 0 / 1.101 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000606/0.635, allocations: 335.8 kB / 1.101 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.001279/0.6363, allocations: 1.365 MB / 1.103 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007477/0.6371, allocations: 0.5148 MB / 1.103 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6371, allocations: 3.719 kB / 1.103 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002648/0.6374, allocations: 185.9 kB / 1.103 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.639, allocations: 374.4 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005036/0.644, allocations: 4.956 MB / 1.109 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.6444, allocations: 0.9336 MB / 1.11 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005193/0.6449, allocations: 181.1 kB / 1.11 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.6451, allocations: 218.4 kB / 1.11 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.6452, allocations: 0 / 1.11 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2268/0.872, allocations: 16.23 MB / 1.126 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002655/0.8723, allocations: 233.8 kB / 1.126 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.452/3.324, allocations: 0 / 1.126 GB, free: 4.605 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)