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.2157/0.217, allocations: 82.23 MB / 0.5935 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.588/0.8051, allocations: 166.5 MB / 0.7561 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009375/0.8145, allocations: 4.02 MB / 0.76 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/0.8163, allocations: 21.41 kB / 0.76 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001646/0.818, allocations: 346.2 kB / 0.7603 GB, free: 13.75 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004313/0.8223, allocations: 0.9822 MB / 0.7613 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.8255, allocations: 0.708 MB / 0.762 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004104/0.8297, allocations: 2.591 MB / 0.7645 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000982/0.8307, allocations: 0.5135 MB / 0.765 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002366/0.833, allocations: 0.8617 MB / 0.7659 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000911/0.834, allocations: 0.6192 MB / 0.7665 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.49e-05/0.8341, allocations: 30.09 kB / 0.7665 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.8359, allocations: 0.7559 MB / 0.7672 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003395/0.8363, allocations: 306.5 kB / 0.7675 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002721/0.8366, allocations: 200.4 kB / 0.7677 GB, free: 11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.8379, allocations: 1.103 MB / 0.7688 GB, free: 10.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8379, allocations: 0 / 0.7688 GB, free: 10.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.336e-06/0.8379, allocations: 0 / 0.7688 GB, free: 10.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.8379, allocations: 3.938 kB / 0.7688 GB, free: 10.45 MB / 0.545 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.001692/0.8396, allocations: 1.045 MB / 0.7698 GB, free: 9.691 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.8397, allocations: 8.031 kB / 0.7698 GB, free: 9.691 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.8408, allocations: 208.1 kB / 0.77 GB, free: 9.609 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008654/0.8417, allocations: 0.5966 MB / 0.7706 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.8418, allocations: 43.81 kB / 0.7707 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.8419, allocations: 70.38 kB / 0.7707 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.8438, allocations: 0.7852 MB / 0.7715 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.8438, allocations: 0 / 0.7715 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-05/0.8439, allocations: 21.88 kB / 0.7715 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/0.8439, allocations: 28.48 kB / 0.7715 GB, free: 8.996 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.8455, allocations: 0.7087 MB / 0.7722 GB, free: 8.84 MB / 0.545 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.003956/0.8495, allocations: 2.446 MB / 0.7746 GB, free: 7.223 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.8514, allocations: 0.5339 MB / 0.7751 GB, free: 7.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000403/0.8518, allocations: 210.2 kB / 0.7753 GB, free: 7.051 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-05/0.8519, allocations: 17.89 kB / 0.7754 GB, free: 7.043 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.852, allocations: 41.75 kB / 0.7754 GB, free: 7.004 MB / 0.545 GB Notification: Performance of pre-optimization done (n=35): time 2.916e-06/0.852, allocations: 0 / 0.7754 GB, free: 7.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.003591/0.8556, allocations: 0.8841 MB / 0.7763 GB, free: 6.758 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.8556, allocations: 54.25 kB / 0.7763 GB, free: 6.695 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009096/0.8566, allocations: 0.6061 MB / 0.7769 GB, free: 6.473 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.161e-05/0.8567, allocations: 33.3 kB / 0.7769 GB, free: 6.441 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/0.857, allocations: 354.8 kB / 0.7773 GB, free: 6.246 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.8572, allocations: 125.7 kB / 0.7774 GB, free: 6.156 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.8573, allocations: 8.844 kB / 0.7774 GB, free: 6.156 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002835/0.8575, allocations: 375.4 kB / 0.7778 GB, free: 5.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006588/0.8582, allocations: 219.4 kB / 0.778 GB, free: 5.777 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007903/0.859, allocations: 334.7 kB / 0.7783 GB, free: 5.617 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007143/0.8598, allocations: 254.4 kB / 0.7785 GB, free: 5.574 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.8598, allocations: 0 / 0.7785 GB, free: 5.574 MB / 0.545 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001778/0.8616, allocations: 0.6232 MB / 0.7791 GB, free: 5.398 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.8617, allocations: 141 kB / 0.7793 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.8617, allocations: 0 / 0.7793 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.8617, allocations: 5.062 kB / 0.7793 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008454/0.8626, allocations: 118.1 kB / 0.7794 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.8626, allocations: 6.906 kB / 0.7794 GB, free: 5.223 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009287/0.8636, allocations: 123.6 kB / 0.7795 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.8636, allocations: 18.45 kB / 0.7795 GB, free: 5.164 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/0.8636, allocations: 2.812 kB / 0.7795 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000648/0.8643, allocations: 420.1 kB / 0.7799 GB, free: 5.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.8643, allocations: 2.938 kB / 0.7799 GB, free: 5.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.8643, allocations: 6.422 kB / 0.78 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.8647, allocations: 86.88 kB / 0.78 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.8647, allocations: 6.922 kB / 0.78 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005607/0.8652, allocations: 89.48 kB / 0.7801 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.8653, allocations: 11.78 kB / 0.7801 GB, free: 5.027 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003817/0.8657, allocations: 315.9 kB / 0.7804 GB, free: 4.816 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.8658, allocations: 71.38 kB / 0.7805 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.866, allocations: 76.42 kB / 0.7806 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.866, allocations: 6.734 kB / 0.7806 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.8661, allocations: 2.562 kB / 0.7806 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001032/0.8671, allocations: 0.5764 MB / 0.7812 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/0.8691, allocations: 1.351 MB / 0.7825 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.8691, allocations: 2.906 kB / 0.7825 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005644/0.8697, allocations: 122.3 kB / 0.7826 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.8697, allocations: 2.844 kB / 0.7826 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.8698, allocations: 12.36 kB / 0.7826 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.8698, allocations: 3.844 kB / 0.7826 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8698, allocations: 4.828 kB / 0.7826 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.8716, allocations: 0.9713 MB / 0.7836 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/0.872, allocations: 215.2 kB / 0.7838 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.495e-05/0.8721, allocations: 9 kB / 0.7838 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006713/0.8727, allocations: 86.45 kB / 0.7839 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/0.8728, allocations: 25.36 kB / 0.7839 GB, free: 3.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-05/0.8729, allocations: 27.27 kB / 0.7839 GB, free: 3.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004608/0.8734, allocations: 429.7 kB / 0.7843 GB, free: 3.113 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.724e-06/0.8734, allocations: 0 / 0.7843 GB, free: 3.113 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000946/0.8743, allocations: 376 kB / 0.7847 GB, free: 3.07 MB / 0.545 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 (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.0004097/0.8747, allocations: 177.2 kB / 0.7848 GB, free: 2.953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001662/0.8764, allocations: 0.7199 MB / 0.7855 GB, free: 2.809 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.8764, allocations: 5.188 kB / 0.7856 GB, free: 2.809 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005551/0.877, allocations: 259.6 kB / 0.7858 GB, free: 2.754 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.8791, allocations: 444 kB / 0.7862 GB, free: 2.609 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.8816, allocations: 1.754 MB / 0.7879 GB, free: 1.512 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007405/0.8824, allocations: 0.9621 MB / 0.7889 GB, free: 0.707 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009448/0.8833, allocations: 199.2 kB / 0.7891 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.8835, allocations: 56.11 kB / 0.7891 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.8835, allocations: 0 / 0.7891 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of Templates: time 0.02386/0.9074, allocations: 14.14 MB / 0.8029 GB, free: 4.746 MB / 0.5606 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: