Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1938/0.1945, allocations: 82.22 MB / 0.5941 GB, free: 15.07 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.569/0.7636, allocations: 178.5 MB / 0.7684 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008874/0.7725, allocations: 4.273 MB / 0.7726 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/0.7743, allocations: 23.81 kB / 0.7726 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.7762, allocations: 453.8 kB / 0.773 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003857/0.78, allocations: 1.21 MB / 0.7742 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002502/0.7825, allocations: 0.8359 MB / 0.775 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004203/0.7868, allocations: 3.057 MB / 0.778 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.7878, allocations: 0.5698 MB / 0.7786 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002157/0.79, allocations: 0.8986 MB / 0.7794 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.7913, allocations: 0.6491 MB / 0.7801 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.7914, allocations: 32 kB / 0.7801 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/0.7939, allocations: 1.306 MB / 0.7814 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003629/0.7943, allocations: 303.1 kB / 0.7817 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006011/0.7949, allocations: 463.6 kB / 0.7821 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002208/0.7971, allocations: 1.573 MB / 0.7837 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.7971, allocations: 0 / 0.7837 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.666e-06/0.7971, allocations: 4 kB / 0.7837 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.7972, allocations: 0 / 0.7837 GB, free: 10.73 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001939/0.7991, allocations: 1.04 MB / 0.7847 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.7991, allocations: 8.031 kB / 0.7847 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.8004, allocations: 210.8 kB / 0.7849 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009507/0.8014, allocations: 0.6124 MB / 0.7855 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.8014, allocations: 53.3 kB / 0.7855 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.844e-05/0.8016, allocations: 56 kB / 0.7856 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/0.8036, allocations: 0.7911 MB / 0.7864 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.8037, allocations: 7.906 kB / 0.7864 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.895e-05/0.8038, allocations: 24 kB / 0.7864 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/0.8038, allocations: 25.25 kB / 0.7864 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.8058, allocations: 0.7116 MB / 0.7871 GB, free: 7.09 MB / 0.5762 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.003616/0.8094, allocations: 2.452 MB / 0.7895 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.8109, allocations: 0.534 MB / 0.79 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.8113, allocations: 209.3 kB / 0.7902 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.8113, allocations: 11.8 kB / 0.7902 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.8114, allocations: 46.55 kB / 0.7903 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.354e-06/0.8114, allocations: 0 / 0.7903 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.003065/0.8145, allocations: 0.884 MB / 0.7911 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.8145, allocations: 59.41 kB / 0.7912 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006967/0.8152, allocations: 0.6096 MB / 0.7918 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.549e-05/0.8153, allocations: 37.7 kB / 0.7918 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.8156, allocations: 352.4 kB / 0.7922 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.8157, allocations: 126.2 kB / 0.7923 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.039e-05/0.8158, allocations: 37.7 kB / 0.7923 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.816, allocations: 370.8 kB / 0.7927 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005734/0.8166, allocations: 220.7 kB / 0.7929 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000675/0.8173, allocations: 344.2 kB / 0.7932 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.8185, allocations: 0.5175 MB / 0.7937 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.8185, allocations: 0 / 0.7937 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001447/0.8199, allocations: 0.6096 MB / 0.7943 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.8201, allocations: 146.3 kB / 0.7944 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.8201, allocations: 0 / 0.7944 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.8201, allocations: 4 kB / 0.7945 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005962/0.8207, allocations: 123.9 kB / 0.7946 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.8207, allocations: 4 kB / 0.7946 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009382/0.8217, allocations: 123.3 kB / 0.7947 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.8217, allocations: 19.94 kB / 0.7947 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.672e-06/0.8218, allocations: 4 kB / 0.7947 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007517/0.8225, allocations: 423.3 kB / 0.7951 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.8225, allocations: 0 / 0.7951 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.59e-06/0.8225, allocations: 4 kB / 0.7951 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.8229, allocations: 87.89 kB / 0.7952 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.8229, allocations: 4 kB / 0.7952 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006536/0.8236, allocations: 79.61 kB / 0.7953 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.8236, allocations: 16 kB / 0.7953 GB, free: 14.3 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005109/0.8241, allocations: 325.6 kB / 0.7956 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.8243, allocations: 71.19 kB / 0.7957 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.8244, allocations: 74.42 kB / 0.7958 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.8245, allocations: 4 kB / 0.7958 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.8245, allocations: 0 / 0.7958 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001237/0.8257, allocations: 0.5753 MB / 0.7963 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.8281, allocations: 1.346 MB / 0.7976 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.8281, allocations: 0.875 kB / 0.7976 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006368/0.8288, allocations: 132 kB / 0.7978 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.8288, allocations: 0 / 0.7978 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.8289, allocations: 12 kB / 0.7978 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.8289, allocations: 3.938 kB / 0.7978 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.8289, allocations: 7.938 kB / 0.7978 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.8309, allocations: 0.9765 MB / 0.7987 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003341/0.8312, allocations: 212.2 kB / 0.7989 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.082e-05/0.8313, allocations: 12 kB / 0.7989 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008116/0.8321, allocations: 75.92 kB / 0.799 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.8322, allocations: 39.83 kB / 0.7991 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-05/0.8323, allocations: 23.98 kB / 0.7991 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005238/0.8328, allocations: 439 kB / 0.7995 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8329, allocations: 0 / 0.7995 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001121/0.834, allocations: 375.1 kB / 0.7999 GB, free: 9.465 MB / 0.5919 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004272/0.8344, allocations: 176.9 kB / 0.8 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001729/0.8362, allocations: 0.7192 MB / 0.8007 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.8362, allocations: 0.625 kB / 0.8007 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000659/0.8368, allocations: 268.8 kB / 0.801 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.8393, allocations: 437.7 kB / 0.8014 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/0.8422, allocations: 1.812 MB / 0.8032 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/0.8429, allocations: 0.9654 MB / 0.8041 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009314/0.8438, allocations: 193.4 kB / 0.8043 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.844, allocations: 55.42 kB / 0.8044 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of SimCode: time 1.142e-06/0.844, allocations: 0 / 0.8044 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of Templates: time 0.02748/0.8715, allocations: 14.59 MB / 0.8186 GB, free: 6.402 MB / 0.6075 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) Environment - environmentSimulation: