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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009383/0.0009384, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.4 MB / 222.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.639/1.639, allocations: 251.9 MB / 0.51 GB, free: 4.863 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005029/0.000503, allocations: 19.28 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5603/0.5609, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1975/0.7585, allocations: 152.7 MB / 0.8771 GB, free: 2.293 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009387/0.7679, allocations: 4.813 MB / 0.8818 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.7691, allocations: 23.81 kB / 0.8818 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.7708, allocations: 446 kB / 0.8823 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.005305/0.7761, allocations: 1.379 MB / 0.8836 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003339/0.7795, allocations: 0.9258 MB / 0.8845 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002316/0.7818, allocations: 1.109 MB / 0.8856 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007062/0.7825, allocations: 470.5 kB / 0.886 GB, free: 9.137 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.7838, allocations: 0.6073 MB / 0.8866 GB, free: 8.527 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004989/0.7843, allocations: 354.5 kB / 0.887 GB, free: 8.18 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 6.278e-05/0.7844, allocations: 24 kB / 0.887 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.7863, allocations: 0.6981 MB / 0.8877 GB, free: 7.457 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002315/0.7865, allocations: 211.3 kB / 0.8879 GB, free: 7.25 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.7867, allocations: 173.3 kB / 0.8881 GB, free: 7.074 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.7877, allocations: 0.8885 MB / 0.8889 GB, free: 6.184 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.7878, allocations: 0 / 0.8889 GB, free: 6.184 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7878, allocations: 0 / 0.8889 GB, free: 6.184 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.7878, allocations: 0 / 0.8889 GB, free: 6.184 MB / 0.7012 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.001686/0.7895, allocations: 0.953 MB / 0.8898 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.7895, allocations: 8.031 kB / 0.8899 GB, free: 5.172 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.7907, allocations: 214.8 kB / 0.8901 GB, free: 4.961 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009487/0.7917, allocations: 0.558 MB / 0.8906 GB, free: 4.363 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/0.7918, allocations: 40.95 kB / 0.8906 GB, free: 4.324 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-05/0.7919, allocations: 55.98 kB / 0.8907 GB, free: 4.27 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009047/0.7928, allocations: 0.4945 MB / 0.8912 GB, free: 3.77 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.7928, allocations: 0 / 0.8912 GB, free: 3.77 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.303e-05/0.7929, allocations: 20 kB / 0.8912 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.352e-05/0.7929, allocations: 17 kB / 0.8912 GB, free: 3.734 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007702/0.7937, allocations: 443.7 kB / 0.8916 GB, free: 3.297 MB / 0.7012 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.002721/0.7964, allocations: 2.013 MB / 0.8936 GB, free: 1.105 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.797, allocations: 357.1 kB / 0.8939 GB, free: 0.75 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.461e-05/0.7971, allocations: 12.28 kB / 0.894 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.7972, allocations: 38.84 kB / 0.894 GB, free: 0.6914 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=33): time 1.863e-06/0.7972, allocations: 4 kB / 0.894 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of matching and sorting (n=33): time 0.0013/0.7985, allocations: 0.5609 MB / 0.8945 GB, free: 124 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.7985, allocations: 55.41 kB / 0.8946 GB, free: 56 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005702/0.7991, allocations: 0.503 MB / 0.8951 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/0.7992, allocations: 33.7 kB / 0.8951 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.7994, allocations: 300.2 kB / 0.8954 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.7995, allocations: 122.2 kB / 0.8955 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-05/0.7995, allocations: 4 kB / 0.8955 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.7997, allocations: 362.8 kB / 0.8959 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.8, allocations: 148.5 kB / 0.896 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.8003, allocations: 216.5 kB / 0.8962 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.8006, allocations: 167.9 kB / 0.8964 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8006, allocations: 0 / 0.8964 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006997/0.8013, allocations: 433 kB / 0.8968 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001707/0.8015, allocations: 364 kB / 0.8971 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.8015, allocations: 3.984 kB / 0.8971 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.8015, allocations: 4 kB / 0.8972 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.8019, allocations: 71.89 kB / 0.8972 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.8019, allocations: 4 kB / 0.8972 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005342/0.8025, allocations: 63.7 kB / 0.8973 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/0.8025, allocations: 11.95 kB / 0.8973 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.8025, allocations: 10.19 kB / 0.8973 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006198/0.8031, allocations: 347.6 kB / 0.8976 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-06/0.8032, allocations: 0 / 0.8976 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.269e-06/0.8032, allocations: 4 kB / 0.8976 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.8035, allocations: 76 kB / 0.8977 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.8035, allocations: 3.984 kB / 0.8977 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004612/0.804, allocations: 63.66 kB / 0.8978 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.804, allocations: 12 kB / 0.8978 GB, free: 12.69 MB / 0.7169 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.0003194/0.8043, allocations: 293 kB / 0.8981 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.391e-05/0.8044, allocations: 67.2 kB / 0.8981 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007763/0.8052, allocations: 427.1 kB / 0.8985 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.8052, allocations: 4 kB / 0.8985 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.8052, allocations: 0 / 0.8985 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006306/0.8059, allocations: 436.3 kB / 0.899 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.8077, allocations: 1.194 MB / 0.9001 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.8077, allocations: 4 kB / 0.9001 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/0.8081, allocations: 87.89 kB / 0.9002 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.8081, allocations: 4 kB / 0.9002 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.8082, allocations: 11.98 kB / 0.9002 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.8082, allocations: 4.188 kB / 0.9002 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8082, allocations: 4 kB / 0.9002 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.8094, allocations: 0.8109 MB / 0.901 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.8097, allocations: 180.4 kB / 0.9012 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.97e-05/0.8098, allocations: 8 kB / 0.9012 GB, free: 8.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005018/0.8103, allocations: 63.16 kB / 0.9013 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.585e-05/0.8104, allocations: 31.86 kB / 0.9013 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.8104, allocations: 12 kB / 0.9013 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000401/0.8108, allocations: 362.8 kB / 0.9017 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8108, allocations: 0 / 0.9017 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008523/0.8117, allocations: 331.2 kB / 0.902 GB, free: 8.199 MB / 0.7169 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.0004625/0.8121, allocations: 177.7 kB / 0.9021 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009886/0.8131, allocations: 0.5197 MB / 0.9027 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8131, allocations: 0 / 0.9027 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003116/0.8135, allocations: 180.3 kB / 0.9028 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/0.8153, allocations: 370.2 kB / 0.9032 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.8176, allocations: 1.545 MB / 0.9047 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005942/0.8182, allocations: 0.949 MB / 0.9056 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006452/0.8188, allocations: 188.8 kB / 0.9058 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.819, allocations: 47.44 kB / 0.9058 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of SimCode: time 9.41e-07/0.819, allocations: 0 / 0.9058 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of Templates: time 0.5084/1.327, allocations: 11.07 MB / 0.9166 GB, free: 179.7 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.makefile Environment - environmentSimulation: (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) Environment - environmentSimulation: