Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.721/2.721, allocations: 287.5 MB / 302.4 MB, free: 8.129 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.00196/0.001959, allocations: 182.5 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009181/0.0009179, allocations: 99.16 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007946/0.0007948, allocations: 11.73 kB / 0.8659 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3091, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 1.081/1.39, allocations: 166.7 MB / 1.141 GB, free: 13.17 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0108/1.401, allocations: 4.52 MB / 1.146 GB, free: 11.81 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/1.402, allocations: 28.31 kB / 1.146 GB, free: 11.8 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001654/1.404, allocations: 297 kB / 1.146 GB, free: 11.68 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004845/1.409, allocations: 1.022 MB / 1.147 GB, free: 11.24 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00301/1.412, allocations: 0.5983 MB / 1.147 GB, free: 11.11 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004481/1.416, allocations: 2.13 MB / 1.15 GB, free: 10.76 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/1.418, allocations: 445.9 kB / 1.15 GB, free: 10.6 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002894/1.421, allocations: 0.7072 MB / 1.151 GB, free: 10.29 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001683/1.422, allocations: 0.5205 MB / 1.151 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002419/1.423, allocations: 24.62 kB / 1.151 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00391/1.427, allocations: 0.8817 MB / 1.152 GB, free: 9.73 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006313/1.427, allocations: 217.4 kB / 1.152 GB, free: 9.633 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005002/1.428, allocations: 167 kB / 1.152 GB, free: 9.578 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003057/1.431, allocations: 0.9554 MB / 1.153 GB, free: 9.07 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/1.431, allocations: 1.406 kB / 1.153 GB, free: 9.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.835e-06/1.431, allocations: 4 kB / 1.153 GB, free: 9.066 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.512e-05/1.431, allocations: 0 / 1.153 GB, free: 9.066 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.003365/1.434, allocations: 0.9707 MB / 1.154 GB, free: 8.324 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/1.435, allocations: 9.688 kB / 1.154 GB, free: 8.324 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003191/1.435, allocations: 90.33 kB / 1.154 GB, free: 8.273 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002228/1.437, allocations: 206 kB / 1.155 GB, free: 8.191 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/1.439, allocations: 0.5638 MB / 1.155 GB, free: 7.809 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.168e-05/1.439, allocations: 33.19 kB / 1.155 GB, free: 7.809 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/1.439, allocations: 47.97 kB / 1.155 GB, free: 7.809 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/1.441, allocations: 0.4887 MB / 1.156 GB, free: 7.676 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/1.441, allocations: 0 / 1.156 GB, free: 7.676 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.916e-05/1.441, allocations: 18.88 kB / 1.156 GB, free: 7.676 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.487e-05/1.441, allocations: 15.47 kB / 1.156 GB, free: 7.672 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/1.443, allocations: 449.3 kB / 1.156 GB, free: 7.59 MB / 0.698 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.005003/1.448, allocations: 2.008 MB / 1.158 GB, free: 6.223 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/1.449, allocations: 348.3 kB / 1.158 GB, free: 6.113 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006202/1.449, allocations: 219.8 kB / 1.159 GB, free: 6.004 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004502/1.45, allocations: 196.3 kB / 1.159 GB, free: 5.801 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/1.45, allocations: 41.08 kB / 1.159 GB, free: 5.754 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.925e-06/1.45, allocations: 0 / 1.159 GB, free: 5.754 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.002258/1.452, allocations: 0.5518 MB / 1.159 GB, free: 5.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/1.452, allocations: 55.25 kB / 1.16 GB, free: 5.418 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/1.453, allocations: 0.498 MB / 1.16 GB, free: 5.117 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/1.454, allocations: 33.11 kB / 1.16 GB, free: 5.082 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003461/1.454, allocations: 302.8 kB / 1.16 GB, free: 4.816 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/1.454, allocations: 121.1 kB / 1.16 GB, free: 4.711 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/1.454, allocations: 9.094 kB / 1.16 GB, free: 4.703 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002208/1.454, allocations: 360.2 kB / 1.161 GB, free: 4.355 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005183/1.455, allocations: 139 kB / 1.161 GB, free: 4.289 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005879/1.456, allocations: 223.1 kB / 1.161 GB, free: 4.133 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000599/1.456, allocations: 171.6 kB / 1.161 GB, free: 4.047 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.456, allocations: 0 / 1.161 GB, free: 4.047 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001422/1.458, allocations: 431.3 kB / 1.162 GB, free: 3.828 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.458, allocations: 117.9 kB / 1.162 GB, free: 3.703 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/1.458, allocations: 4.875 kB / 1.162 GB, free: 3.699 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/1.458, allocations: 3.375 kB / 1.162 GB, free: 3.699 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006962/1.459, allocations: 73.53 kB / 1.162 GB, free: 3.684 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/1.459, allocations: 2.031 kB / 1.162 GB, free: 3.684 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/1.46, allocations: 62.73 kB / 1.162 GB, free: 3.648 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.125e-05/1.46, allocations: 21.06 kB / 1.162 GB, free: 3.637 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/1.46, allocations: 4.969 kB / 1.162 GB, free: 3.637 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001219/1.461, allocations: 346.9 kB / 1.162 GB, free: 3.477 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.461, allocations: 1.312 kB / 1.162 GB, free: 3.477 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/1.461, allocations: 2.656 kB / 1.162 GB, free: 3.477 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/1.462, allocations: 76.92 kB / 1.162 GB, free: 3.457 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.557e-06/1.462, allocations: 2.188 kB / 1.162 GB, free: 3.457 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/1.463, allocations: 68.11 kB / 1.162 GB, free: 3.418 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/1.463, allocations: 13.61 kB / 1.162 GB, free: 3.414 MB / 0.698 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.000563/1.464, allocations: 291.2 kB / 1.163 GB, free: 3.164 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/1.464, allocations: 59.66 kB / 1.163 GB, free: 3.133 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/1.465, allocations: 434.5 kB / 1.163 GB, free: 2.883 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/1.465, allocations: 4.25 kB / 1.163 GB, free: 2.883 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.465, allocations: 3.938 kB / 1.163 GB, free: 2.879 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001095/1.466, allocations: 448 kB / 1.164 GB, free: 2.574 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/1.47, allocations: 1.177 MB / 1.165 GB, free: 1.703 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/1.47, allocations: 1.844 kB / 1.165 GB, free: 1.703 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008338/1.471, allocations: 88.84 kB / 1.165 GB, free: 1.684 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/1.471, allocations: 3.594 kB / 1.165 GB, free: 1.684 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-05/1.471, allocations: 11.89 kB / 1.165 GB, free: 1.676 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/1.471, allocations: 7.312 kB / 1.165 GB, free: 1.672 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/1.471, allocations: 10.59 kB / 1.165 GB, free: 1.664 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/1.473, allocations: 0.7273 MB / 1.166 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005746/1.473, allocations: 180.7 kB / 1.166 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/1.474, allocations: 16.3 kB / 1.166 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009194/1.474, allocations: 52.67 kB / 1.166 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/1.475, allocations: 31.28 kB / 1.166 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.045e-05/1.475, allocations: 13.86 kB / 1.166 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007005/1.475, allocations: 356.8 kB / 1.166 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.475, allocations: 0 / 1.166 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00154/1.477, allocations: 320.9 kB / 1.167 GB, free: 0.7031 MB / 0.698 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.002762/1.48, allocations: 1.371 MB / 1.168 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001877/1.482, allocations: 0.5193 MB / 1.168 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.482, allocations: 1.031 kB / 1.168 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005878/1.482, allocations: 187 kB / 1.169 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0036/1.486, allocations: 373.6 kB / 1.169 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009046/1.495, allocations: 3.541 MB / 1.172 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006994/1.496, allocations: 0.9363 MB / 1.173 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001272/1.497, allocations: 175.7 kB / 1.173 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005182/1.498, allocations: 217.4 kB / 1.174 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of SimCode: time 9.428e-06/1.498, allocations: 0 / 1.174 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05955/1.557, allocations: 16.63 MB / 1.19 GB, free: 3 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003313/1.558, allocations: 219.7 kB / 1.19 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.361/4.919, allocations: 4 kB / 1.19 GB, free: 2.746 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)