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: translateModel(IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay") translateModel(IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009741/0.0009743, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4977/0.4977, allocations: 90.92 MB / 99.35 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.434/1.434, allocations: 221.5 MB / 343.2 MB, free: 1.578 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.000924/0.0009241, allocations: 94.81 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.508e-05/1.51e-05, allocations: 4 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1528, allocations: 72.31 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.583/4.736, allocations: 1.876 GB / 2.429 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/4.736, allocations: 92.55 kB / 2.429 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.661/6.397, allocations: 485 MB / 2.903 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.655e-06/6.397, allocations: 0 / 2.903 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.898e-05/6.397, allocations: 23.92 kB / 2.903 GB, free: 55.7 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.002491/6.4, allocations: 0.9749 MB / 2.904 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/6.4, allocations: 8.031 kB / 2.904 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/6.401, allocations: 202.9 kB / 2.904 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/6.402, allocations: 0.6246 MB / 2.905 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/6.402, allocations: 16 kB / 2.905 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.307e-05/6.403, allocations: 31.98 kB / 2.905 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000543/6.403, allocations: 366.5 kB / 2.905 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005634/6.404, allocations: 395.8 kB / 2.905 GB, free: 53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/6.404, allocations: 4 kB / 2.905 GB, free: 53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/6.404, allocations: 0 / 2.905 GB, free: 53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/6.404, allocations: 21.31 kB / 2.905 GB, free: 52.98 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.002032/6.406, allocations: 1.911 MB / 2.907 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/6.406, allocations: 312.8 kB / 2.908 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/6.406, allocations: 177.3 kB / 2.908 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002304/6.407, allocations: 198.5 kB / 2.908 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/6.407, allocations: 30.84 kB / 2.908 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/6.407, allocations: 0 / 2.908 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.0006973/6.407, allocations: 371.4 kB / 2.908 GB, free: 49.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/6.407, allocations: 55.41 kB / 2.908 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/6.408, allocations: 374.2 kB / 2.909 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/6.408, allocations: 29.7 kB / 2.909 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/6.408, allocations: 312.6 kB / 2.909 GB, free: 48.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.593e-05/6.408, allocations: 114.2 kB / 2.909 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/6.408, allocations: 0 / 2.909 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.083e-05/6.408, allocations: 358.8 kB / 2.909 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/6.408, allocations: 112.6 kB / 2.91 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/6.408, allocations: 193.5 kB / 2.91 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/6.409, allocations: 139.9 kB / 2.91 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/6.409, allocations: 0 / 2.91 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004241/6.409, allocations: 377.1 kB / 2.91 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.361e-05/6.409, allocations: 360 kB / 2.911 GB, free: 47.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/6.409, allocations: 32 / 2.911 GB, free: 47.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/6.409, allocations: 8 kB / 2.911 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/6.41, allocations: 75.89 kB / 2.911 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/6.41, allocations: 8.031 kB / 2.911 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005302/6.41, allocations: 55.73 kB / 2.911 GB, free: 47.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/6.41, allocations: 11.98 kB / 2.911 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/6.41, allocations: 4 kB / 2.911 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003587/6.411, allocations: 279.7 kB / 2.911 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-06/6.411, allocations: 96 / 2.911 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.077e-06/6.411, allocations: 8 kB / 2.911 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/6.411, allocations: 67.91 kB / 2.911 GB, free: 46.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/6.411, allocations: 11.92 kB / 2.911 GB, free: 46.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004528/6.411, allocations: 59.69 kB / 2.911 GB, free: 46.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/6.411, allocations: 12 kB / 2.911 GB, free: 46.71 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 8.347e-05/6.411, allocations: 108.9 kB / 2.911 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-05/6.412, allocations: 63.23 kB / 2.911 GB, free: 46.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004811/6.412, allocations: 363.3 kB / 2.912 GB, free: 46.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/6.412, allocations: 4 kB / 2.912 GB, free: 46.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/6.412, allocations: 0 / 2.912 GB, free: 46.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000321/6.412, allocations: 380.3 kB / 2.912 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/6.414, allocations: 1.048 MB / 2.913 GB, free: 44.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/6.414, allocations: 7.938 kB / 2.913 GB, free: 44.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/6.414, allocations: 87.88 kB / 2.913 GB, free: 44.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/6.414, allocations: 4 kB / 2.913 GB, free: 44.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/6.414, allocations: 4 kB / 2.913 GB, free: 44.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/6.414, allocations: 4 kB / 2.913 GB, free: 44.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.654e-06/6.414, allocations: 0 / 2.913 GB, free: 44.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006073/6.415, allocations: 0.6941 MB / 2.914 GB, free: 43.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/6.415, allocations: 176.4 kB / 2.914 GB, free: 43.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.57e-05/6.415, allocations: 8 kB / 2.914 GB, free: 43.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004666/6.415, allocations: 47.8 kB / 2.914 GB, free: 43.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/6.415, allocations: 27.92 kB / 2.914 GB, free: 43.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/6.415, allocations: 11.98 kB / 2.914 GB, free: 43.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002283/6.416, allocations: 298.9 kB / 2.914 GB, free: 43.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/6.416, allocations: 0 / 2.914 GB, free: 43.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009732/6.417, allocations: 407 kB / 2.915 GB, free: 42.81 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.001525/6.418, allocations: 1.415 MB / 2.916 GB, free: 41.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005584/6.419, allocations: 480 kB / 2.917 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/6.419, allocations: 0 / 2.917 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/6.419, allocations: 156 kB / 2.917 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/6.42, allocations: 340.3 kB / 2.917 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/6.422, allocations: 0.9552 MB / 2.918 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/6.422, allocations: 0.9499 MB / 2.919 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007226/6.423, allocations: 220.5 kB / 2.919 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.571e-05/6.423, allocations: 39.44 kB / 2.919 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/6.423, allocations: 0 / 2.919 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of Templates: time 0.0224/6.445, allocations: 17.81 MB / 2.937 GB, free: 20.48 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)