Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Delays.Examples.Delay,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Delays.Examples.Delay,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4888/0.4888, allocations: 90.91 MB / 99.34 MB, free: 2.164 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 221.5 MB / 343.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001238, allocations: 95.94 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.321e-05/1.323e-05, allocations: 4 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1521, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.338/4.49, allocations: 1.876 GB / 2.429 GB, free: 28.18 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/4.491, allocations: 84.64 kB / 2.429 GB, free: 28.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.548/6.038, allocations: 485 MB / 2.903 GB, free: 28.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.363e-06/6.038, allocations: 4 kB / 2.903 GB, free: 28.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.775e-05/6.038, allocations: 16 kB / 2.903 GB, free: 28.97 MB / 0.6042 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.002062/6.04, allocations: 0.9749 MB / 2.904 GB, free: 27.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/6.04, allocations: 8.031 kB / 2.904 GB, free: 27.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/6.042, allocations: 210.8 kB / 2.904 GB, free: 27.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/6.043, allocations: 0.6207 MB / 2.905 GB, free: 27.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/6.043, allocations: 16 kB / 2.905 GB, free: 27.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/6.043, allocations: 35.94 kB / 2.905 GB, free: 27.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006885/6.044, allocations: 366.5 kB / 2.905 GB, free: 26.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006683/6.045, allocations: 395.9 kB / 2.905 GB, free: 26.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/6.045, allocations: 4 kB / 2.905 GB, free: 26.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/6.045, allocations: 0 / 2.905 GB, free: 26.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/6.045, allocations: 21.27 kB / 2.905 GB, free: 26.25 MB / 0.6042 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.00253/6.047, allocations: 1.9 MB / 2.907 GB, free: 24.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/6.048, allocations: 315.2 kB / 2.908 GB, free: 23.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/6.048, allocations: 169.4 kB / 2.908 GB, free: 23.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002543/6.048, allocations: 198.5 kB / 2.908 GB, free: 23.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/6.048, allocations: 34.84 kB / 2.908 GB, free: 23.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.814e-06/6.048, allocations: 4 kB / 2.908 GB, free: 23.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.0008508/6.049, allocations: 371.3 kB / 2.908 GB, free: 23.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.967e-05/6.049, allocations: 55.41 kB / 2.908 GB, free: 22.99 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/6.05, allocations: 374.2 kB / 2.909 GB, free: 22.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/6.05, allocations: 29.64 kB / 2.909 GB, free: 22.58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/6.05, allocations: 312.6 kB / 2.909 GB, free: 22.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.995e-05/6.05, allocations: 110.3 kB / 2.909 GB, free: 22.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/6.05, allocations: 0 / 2.909 GB, free: 22.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.418e-05/6.05, allocations: 370.7 kB / 2.91 GB, free: 21.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/6.05, allocations: 108.6 kB / 2.91 GB, free: 21.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/6.05, allocations: 193.5 kB / 2.91 GB, free: 21.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/6.051, allocations: 144.6 kB / 2.91 GB, free: 21.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/6.051, allocations: 0 / 2.91 GB, free: 21.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005189/6.051, allocations: 377 kB / 2.91 GB, free: 20.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/6.051, allocations: 356.1 kB / 2.911 GB, free: 20.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/6.051, allocations: 0 / 2.911 GB, free: 20.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/6.051, allocations: 4 kB / 2.911 GB, free: 20.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/6.052, allocations: 79.84 kB / 2.911 GB, free: 20.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/6.052, allocations: 4 kB / 2.911 GB, free: 20.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006273/6.052, allocations: 59.73 kB / 2.911 GB, free: 20.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/6.052, allocations: 12 kB / 2.911 GB, free: 20.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/6.052, allocations: 5.094 kB / 2.911 GB, free: 20.41 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003896/6.053, allocations: 275.7 kB / 2.911 GB, free: 20.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/6.053, allocations: 0 / 2.911 GB, free: 20.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.899e-06/6.053, allocations: 4 kB / 2.911 GB, free: 20.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/6.053, allocations: 75.84 kB / 2.911 GB, free: 20.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/6.053, allocations: 8.078 kB / 2.911 GB, free: 20.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000564/6.054, allocations: 59.7 kB / 2.911 GB, free: 20 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/6.054, allocations: 12 kB / 2.911 GB, free: 19.99 MB / 0.6042 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 0.0001199/6.054, allocations: 112.9 kB / 2.911 GB, free: 19.87 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004359/6.054, allocations: 329.1 kB / 2.912 GB, free: 19.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-05/6.054, allocations: 55.34 kB / 2.912 GB, free: 19.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005081/6.055, allocations: 359 kB / 2.912 GB, free: 19.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/6.055, allocations: 4 kB / 2.912 GB, free: 19.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/6.055, allocations: 7.984 kB / 2.912 GB, free: 19.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000334/6.055, allocations: 380.9 kB / 2.912 GB, free: 18.71 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/6.057, allocations: 1.048 MB / 2.913 GB, free: 17.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/6.057, allocations: 4 kB / 2.913 GB, free: 17.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/6.057, allocations: 88.08 kB / 2.914 GB, free: 17.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/6.057, allocations: 0 / 2.914 GB, free: 17.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/6.057, allocations: 8 kB / 2.914 GB, free: 17.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/6.057, allocations: 7.938 kB / 2.914 GB, free: 17.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/6.057, allocations: 11.89 kB / 2.914 GB, free: 17.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006982/6.058, allocations: 0.6858 MB / 2.914 GB, free: 16.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/6.058, allocations: 176.4 kB / 2.914 GB, free: 16.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.716e-05/6.058, allocations: 7.938 kB / 2.914 GB, free: 16.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/6.059, allocations: 47.8 kB / 2.914 GB, free: 16.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/6.059, allocations: 27.95 kB / 2.915 GB, free: 16.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/6.059, allocations: 19.97 kB / 2.915 GB, free: 16.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002802/6.059, allocations: 294.9 kB / 2.915 GB, free: 16.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/6.059, allocations: 0 / 2.915 GB, free: 16.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00121/6.06, allocations: 407 kB / 2.915 GB, free: 15.75 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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.003117/6.063, allocations: 2.979 MB / 2.918 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00072/6.064, allocations: 459.9 kB / 2.919 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/6.064, allocations: 4 kB / 2.919 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/6.064, allocations: 155.8 kB / 2.919 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/6.066, allocations: 337.9 kB / 2.919 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/6.068, allocations: 1.105 MB / 2.92 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/6.069, allocations: 0.9499 MB / 2.921 GB, free: 9.602 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008521/6.07, allocations: 204.6 kB / 2.921 GB, free: 9.398 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/6.07, allocations: 211.4 kB / 2.921 GB, free: 9.191 MB / 0.6042 GB Notification: Performance of SimCode: time 1.502e-06/6.07, allocations: 3.938 kB / 2.921 GB, free: 9.188 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4079/6.478, allocations: 25.21 MB / 2.946 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/6.478, allocations: 150.2 kB / 2.946 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.572/9.05, allocations: 0 / 2.946 GB, free: 110.2 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay.fmu > IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)