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.565/2.565, allocations: 287.3 MB / 302.3 MB, free: 8.262 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.001605/0.001604, allocations: 180.8 kB / 370.8 MB, free: 10.88 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.141/2.141, allocations: 205.4 MB / 0.6295 GB, free: 10.52 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.001116/0.001116, allocations: 90.92 kB / 0.7428 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005535/0.0005534, allocations: 13 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2199, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.9/7.12, allocations: 2.077 GB / 3.056 GB, free: 196.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003749/7.12, allocations: 95.64 kB / 3.056 GB, free: 196.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.269/9.389, allocations: 482.7 MB / 3.527 GB, free: 96.38 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.935e-06/9.389, allocations: 0 / 3.527 GB, free: 96.38 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.781e-05/9.389, allocations: 20 kB / 3.527 GB, free: 96.36 MB / 0.948 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.003167/9.393, allocations: 1.083 MB / 3.528 GB, free: 95.23 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/9.393, allocations: 12.03 kB / 3.528 GB, free: 95.21 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002206/9.393, allocations: 90.52 kB / 3.528 GB, free: 95.12 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/9.395, allocations: 202.9 kB / 3.528 GB, free: 94.92 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/9.397, allocations: 0.6281 MB / 3.529 GB, free: 94.25 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.762e-05/9.397, allocations: 37 kB / 3.529 GB, free: 94.21 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/9.397, allocations: 44 kB / 3.529 GB, free: 94.17 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/9.398, allocations: 478.4 kB / 3.53 GB, free: 93.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/9.399, allocations: 0 / 3.53 GB, free: 93.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.355e-05/9.399, allocations: 20 kB / 3.53 GB, free: 93.68 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-05/9.399, allocations: 24.98 kB / 3.53 GB, free: 93.65 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/9.4, allocations: 431.6 kB / 3.53 GB, free: 93.23 MB / 0.948 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.004015/9.404, allocations: 1.998 MB / 3.532 GB, free: 91.05 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008261/9.405, allocations: 335.5 kB / 3.532 GB, free: 90.71 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003636/9.405, allocations: 190.5 kB / 3.532 GB, free: 90.49 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/9.405, allocations: 38.84 kB / 3.533 GB, free: 90.45 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 3.316e-06/9.405, allocations: 4 kB / 3.533 GB, free: 90.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001965/9.407, allocations: 0.5501 MB / 3.533 GB, free: 89.89 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/9.407, allocations: 55.41 kB / 3.533 GB, free: 89.82 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007608/9.408, allocations: 442.2 kB / 3.534 GB, free: 89.38 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.417e-05/9.408, allocations: 33.7 kB / 3.534 GB, free: 89.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/9.408, allocations: 308.2 kB / 3.534 GB, free: 89.04 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/9.408, allocations: 110.3 kB / 3.534 GB, free: 88.93 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/9.409, allocations: 8 kB / 3.534 GB, free: 88.92 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001148/9.409, allocations: 362.8 kB / 3.534 GB, free: 88.55 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000421/9.409, allocations: 140.6 kB / 3.534 GB, free: 88.41 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004808/9.41, allocations: 222.7 kB / 3.535 GB, free: 88.16 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000472/9.41, allocations: 171.6 kB / 3.535 GB, free: 88 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/9.41, allocations: 3.953 kB / 3.535 GB, free: 87.99 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001168/9.411, allocations: 424.7 kB / 3.535 GB, free: 87.57 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/9.411, allocations: 364.3 kB / 3.536 GB, free: 87.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/9.411, allocations: 4.078 kB / 3.536 GB, free: 87.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.119e-05/9.411, allocations: 7.938 kB / 3.536 GB, free: 87.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006745/9.412, allocations: 71.91 kB / 3.536 GB, free: 87.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/9.412, allocations: 11.94 kB / 3.536 GB, free: 87.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/9.413, allocations: 59.64 kB / 3.536 GB, free: 87.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/9.413, allocations: 20 kB / 3.536 GB, free: 87.02 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/9.413, allocations: 7.938 kB / 3.536 GB, free: 87.01 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000954/9.414, allocations: 343.5 kB / 3.536 GB, free: 86.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/9.414, allocations: 0 / 3.536 GB, free: 86.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-06/9.414, allocations: 8.094 kB / 3.536 GB, free: 86.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005654/9.415, allocations: 79.89 kB / 3.536 GB, free: 86.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/9.415, allocations: 4 kB / 3.536 GB, free: 86.58 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000957/9.416, allocations: 59.66 kB / 3.536 GB, free: 86.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/9.416, allocations: 15.98 kB / 3.536 GB, free: 86.51 MB / 0.948 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.0005299/9.416, allocations: 293.5 kB / 3.537 GB, free: 86.21 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/9.417, allocations: 59.25 kB / 3.537 GB, free: 86.15 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/9.418, allocations: 434.8 kB / 3.537 GB, free: 85.72 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/9.418, allocations: 4 kB / 3.537 GB, free: 85.71 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/9.418, allocations: 0 / 3.537 GB, free: 85.71 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008887/9.419, allocations: 437.7 kB / 3.537 GB, free: 85.26 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/9.421, allocations: 1.178 MB / 3.539 GB, free: 84.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/9.421, allocations: 0 / 3.539 GB, free: 84.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007876/9.422, allocations: 83.89 kB / 3.539 GB, free: 83.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/9.422, allocations: 4 kB / 3.539 GB, free: 83.92 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.116e-05/9.422, allocations: 16.17 kB / 3.539 GB, free: 83.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.757e-06/9.422, allocations: 11.95 kB / 3.539 GB, free: 83.89 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/9.422, allocations: 3.938 kB / 3.539 GB, free: 83.89 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/9.424, allocations: 0.7999 MB / 3.539 GB, free: 83.02 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005838/9.425, allocations: 180.3 kB / 3.54 GB, free: 82.82 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/9.425, allocations: 8 kB / 3.54 GB, free: 82.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008962/9.426, allocations: 55.84 kB / 3.54 GB, free: 82.76 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/9.426, allocations: 23.91 kB / 3.54 GB, free: 82.74 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/9.426, allocations: 16 kB / 3.54 GB, free: 82.72 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005903/9.426, allocations: 358.8 kB / 3.54 GB, free: 82.38 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.4e-07/9.426, allocations: 0 / 3.54 GB, free: 82.38 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001739/9.428, allocations: 447.2 kB / 3.54 GB, free: 81.94 MB / 0.948 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.004139/9.432, allocations: 2.913 MB / 3.543 GB, free: 78.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001581/9.434, allocations: 0.5127 MB / 3.544 GB, free: 78.42 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/9.434, allocations: 4 kB / 3.544 GB, free: 78.41 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004756/9.434, allocations: 187.7 kB / 3.544 GB, free: 78.23 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003179/9.438, allocations: 371 kB / 3.544 GB, free: 77.87 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00723/9.445, allocations: 3.961 MB / 3.548 GB, free: 73.83 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/9.445, allocations: 0.949 MB / 3.549 GB, free: 72.85 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001143/9.447, allocations: 176.8 kB / 3.549 GB, free: 72.68 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004366/9.447, allocations: 215.4 kB / 3.55 GB, free: 72.47 MB / 0.948 GB Notification: Performance of SimCode: time 1.443e-06/9.447, allocations: 0 / 3.55 GB, free: 72.47 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08444/9.531, allocations: 35.84 MB / 3.585 GB, free: 36.84 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002647/9.532, allocations: 214.8 kB / 3.585 GB, free: 36.59 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.974/13.51, allocations: 0 / 3.585 GB, free: 36.59 MB / 0.948 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)