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.412/1.412, allocations: 249.5 MB / 257 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.0011, allocations: 180.9 kB / 316.3 MB, free: 3.309 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.53/1.53, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0009083/0.0009083, allocations: 90.47 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.673e-05/1.676e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1714, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.452/5.623, allocations: 2.196 GB / 3.081 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/5.624, allocations: 87.27 kB / 3.081 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.36/6.983, allocations: 463.9 MB / 3.534 GB, free: 52.45 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.222e-06/6.983, allocations: 0 / 3.534 GB, free: 52.45 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.58e-05/6.983, allocations: 27.92 kB / 3.534 GB, free: 52.42 MB / 0.8698 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.001724/6.985, allocations: 0.9737 MB / 3.535 GB, free: 51.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/6.985, allocations: 12.03 kB / 3.535 GB, free: 51.39 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/6.986, allocations: 202.9 kB / 3.535 GB, free: 51.19 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009913/6.987, allocations: 0.6246 MB / 3.536 GB, free: 50.52 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/6.987, allocations: 12 kB / 3.536 GB, free: 50.51 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.567e-05/6.987, allocations: 32 kB / 3.536 GB, free: 50.48 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005551/6.988, allocations: 366.4 kB / 3.536 GB, free: 50.12 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005855/6.989, allocations: 399.9 kB / 3.537 GB, free: 49.73 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/6.989, allocations: 0 / 3.537 GB, free: 49.73 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/6.989, allocations: 0 / 3.537 GB, free: 49.73 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/6.989, allocations: 25.27 kB / 3.537 GB, free: 49.7 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.002009/6.991, allocations: 1.923 MB / 3.539 GB, free: 47.61 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/6.991, allocations: 295.3 kB / 3.539 GB, free: 47.32 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/6.991, allocations: 177.4 kB / 3.539 GB, free: 47.14 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/6.992, allocations: 186.5 kB / 3.539 GB, free: 46.92 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/6.992, allocations: 42.84 kB / 3.539 GB, free: 46.87 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 2.094e-06/6.992, allocations: 0 / 3.539 GB, free: 46.87 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.0007375/6.992, allocations: 367.3 kB / 3.54 GB, free: 46.51 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/6.992, allocations: 51.41 kB / 3.54 GB, free: 46.45 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/6.993, allocations: 378.2 kB / 3.54 GB, free: 46.07 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/6.993, allocations: 29.7 kB / 3.54 GB, free: 46.03 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/6.993, allocations: 304.7 kB / 3.54 GB, free: 45.73 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.176e-05/6.993, allocations: 118.3 kB / 3.541 GB, free: 45.61 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.534e-05/6.993, allocations: 4 kB / 3.541 GB, free: 45.61 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.889e-05/6.993, allocations: 358.8 kB / 3.541 GB, free: 45.25 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/6.993, allocations: 108.6 kB / 3.541 GB, free: 45.14 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/6.993, allocations: 194.3 kB / 3.541 GB, free: 44.92 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/6.994, allocations: 147.6 kB / 3.541 GB, free: 44.77 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/6.994, allocations: 7.953 kB / 3.541 GB, free: 44.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004175/6.994, allocations: 356.7 kB / 3.542 GB, free: 44.41 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.983e-05/6.994, allocations: 360 kB / 3.542 GB, free: 44.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/6.994, allocations: 7.984 kB / 3.542 GB, free: 44.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/6.994, allocations: 0 / 3.542 GB, free: 44.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/6.994, allocations: 75.91 kB / 3.542 GB, free: 43.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/6.994, allocations: 0 / 3.542 GB, free: 43.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005155/6.995, allocations: 63.64 kB / 3.542 GB, free: 43.89 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/6.995, allocations: 8 kB / 3.542 GB, free: 43.88 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.302e-06/6.995, allocations: 4 kB / 3.542 GB, free: 43.88 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003387/6.995, allocations: 279.7 kB / 3.542 GB, free: 43.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/6.995, allocations: 4 kB / 3.542 GB, free: 43.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.827e-06/6.995, allocations: 0 / 3.542 GB, free: 43.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/6.996, allocations: 83.88 kB / 3.542 GB, free: 43.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/6.996, allocations: 4 kB / 3.542 GB, free: 43.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/6.996, allocations: 51.8 kB / 3.543 GB, free: 43.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/6.996, allocations: 8 kB / 3.543 GB, free: 43.45 MB / 0.8698 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 () * 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 8.475e-05/6.996, allocations: 116.9 kB / 3.543 GB, free: 43.33 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003833/6.997, allocations: 324.9 kB / 3.543 GB, free: 43.01 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.704e-05/6.997, allocations: 55.34 kB / 3.543 GB, free: 42.95 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004584/6.997, allocations: 363.4 kB / 3.543 GB, free: 42.59 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/6.997, allocations: 4 kB / 3.543 GB, free: 42.59 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/6.997, allocations: 0 / 3.543 GB, free: 42.59 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003278/6.998, allocations: 384.3 kB / 3.544 GB, free: 42.18 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/6.999, allocations: 1.036 MB / 3.545 GB, free: 41.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/6.999, allocations: 4 kB / 3.545 GB, free: 41.08 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/6.999, allocations: 92.08 kB / 3.545 GB, free: 40.99 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/6.999, allocations: 4 kB / 3.545 GB, free: 40.99 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/6.999, allocations: 7.953 kB / 3.545 GB, free: 40.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/6.999, allocations: 3.938 kB / 3.545 GB, free: 40.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/6.999, allocations: 4 kB / 3.545 GB, free: 40.97 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006127/7, allocations: 0.7173 MB / 3.546 GB, free: 40.18 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/7, allocations: 176.4 kB / 3.546 GB, free: 39.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.394e-05/7, allocations: 3.953 kB / 3.546 GB, free: 39.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004822/7.001, allocations: 51.88 kB / 3.546 GB, free: 39.94 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/7.001, allocations: 27.91 kB / 3.546 GB, free: 39.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/7.001, allocations: 12 kB / 3.546 GB, free: 39.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002539/7.001, allocations: 298.9 kB / 3.546 GB, free: 39.61 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.5e-07/7.001, allocations: 0 / 3.546 GB, free: 39.61 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001025/7.002, allocations: 407 kB / 3.546 GB, free: 39.21 MB / 0.8698 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 () * 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.002387/7.004, allocations: 2.993 MB / 3.549 GB, free: 36.12 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006057/7.005, allocations: 462.7 kB / 3.55 GB, free: 35.66 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/7.005, allocations: 3.938 kB / 3.55 GB, free: 35.66 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/7.005, allocations: 151.8 kB / 3.55 GB, free: 35.51 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/7.007, allocations: 343.5 kB / 3.55 GB, free: 35.18 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/7.008, allocations: 1.101 MB / 3.551 GB, free: 34.03 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/7.009, allocations: 0.946 MB / 3.552 GB, free: 33.05 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007292/7.01, allocations: 216.5 kB / 3.553 GB, free: 32.84 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/7.01, allocations: 207.4 kB / 3.553 GB, free: 32.64 MB / 0.8698 GB Notification: Performance of SimCode: time 4.91e-07/7.01, allocations: 0 / 3.553 GB, free: 32.64 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04372/7.054, allocations: 25.29 MB / 3.577 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/7.054, allocations: 167.2 kB / 3.578 GB, free: 7.25 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.717/9.771, allocations: 0 / 3.578 GB, free: 7.25 MB / 0.8698 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)