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.1922/0.1941, allocations: 80.84 MB / 0.5897 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.7425/0.9367, allocations: 180.8 MB / 0.7663 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008517/0.9452, allocations: 4.337 MB / 0.7705 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.9471, allocations: 23.25 kB / 0.7705 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.9488, allocations: 452.6 kB / 0.771 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00501/0.9538, allocations: 1.212 MB / 0.7722 GB, free: 9.93 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003171/0.957, allocations: 0.8263 MB / 0.773 GB, free: 9.652 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004258/0.9613, allocations: 3.063 MB / 0.776 GB, free: 8.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.9625, allocations: 0.5798 MB / 0.7765 GB, free: 7.746 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002788/0.9653, allocations: 0.9152 MB / 0.7774 GB, free: 7.301 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.9668, allocations: 0.6655 MB / 0.7781 GB, free: 6.984 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.9669, allocations: 38.06 kB / 0.7781 GB, free: 6.984 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002916/0.9698, allocations: 1.315 MB / 0.7794 GB, free: 6.273 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000422/0.9703, allocations: 303 kB / 0.7797 GB, free: 6.082 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006533/0.9709, allocations: 454.8 kB / 0.7801 GB, free: 5.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003057/0.974, allocations: 1.597 MB / 0.7817 GB, free: 4.789 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.974, allocations: 0 / 0.7817 GB, free: 4.789 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.284e-06/0.974, allocations: 4 kB / 0.7817 GB, free: 4.785 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.974, allocations: 0 / 0.7817 GB, free: 4.785 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.002507/0.9766, allocations: 1.216 MB / 0.7829 GB, free: 3.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.9766, allocations: 11.75 kB / 0.7829 GB, free: 3.836 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.978, allocations: 204.7 kB / 0.7831 GB, free: 3.742 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009244/0.9789, allocations: 0.6181 MB / 0.7837 GB, free: 3.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.979, allocations: 42.41 kB / 0.7837 GB, free: 3.211 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.757e-05/0.9791, allocations: 62.47 kB / 0.7838 GB, free: 3.191 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.9811, allocations: 0.7673 MB / 0.7845 GB, free: 2.781 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.9812, allocations: 0 / 0.7845 GB, free: 2.781 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.661e-05/0.9812, allocations: 31.08 kB / 0.7845 GB, free: 2.758 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.854e-05/0.9813, allocations: 21.88 kB / 0.7846 GB, free: 2.754 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.9832, allocations: 0.6839 MB / 0.7852 GB, free: 2.43 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.003508/0.9867, allocations: 2.432 MB / 0.7876 GB, free: 364 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.9881, allocations: 0.5058 MB / 0.7881 GB, free: 104 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003276/0.9885, allocations: 204.2 kB / 0.7883 GB, free: 0 / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.455e-05/0.9885, allocations: 5.312 kB / 0.7883 GB, free: 16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.9886, allocations: 47.61 kB / 0.7883 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 1.583e-06/0.9886, allocations: 0 / 0.7883 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.002838/0.9914, allocations: 0.8253 MB / 0.7892 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.9915, allocations: 54.16 kB / 0.7892 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007158/0.9922, allocations: 0.6139 MB / 0.7898 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.048e-05/0.9923, allocations: 34.73 kB / 0.7898 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/0.9926, allocations: 355.3 kB / 0.7902 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.9927, allocations: 124.8 kB / 0.7903 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.9928, allocations: 89.33 kB / 0.7904 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.993, allocations: 369.6 kB / 0.7907 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005183/0.9935, allocations: 218.9 kB / 0.7909 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006284/0.9942, allocations: 329.3 kB / 0.7913 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.9953, allocations: 492.4 kB / 0.7917 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.9953, allocations: 6.562 kB / 0.7917 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001416/0.9967, allocations: 0.5898 MB / 0.7923 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.9967, allocations: 4.562 kB / 0.7923 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.9968, allocations: 3 kB / 0.7923 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.9968, allocations: 6.266 kB / 0.7923 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005563/0.9973, allocations: 114.9 kB / 0.7924 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.9974, allocations: 5.188 kB / 0.7924 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000925/0.9983, allocations: 105.7 kB / 0.7925 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.9984, allocations: 15.12 kB / 0.7926 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005491/0.9989, allocations: 342.2 kB / 0.7929 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004241/0.9993, allocations: 274.6 kB / 0.7931 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006522/1, allocations: 391.2 kB / 0.7935 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/1, allocations: 0 / 0.7935 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.0007989/1.001, allocations: 0.4887 MB / 0.794 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/1.001, allocations: 5.594 kB / 0.794 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/1.001, allocations: 2.75 kB / 0.794 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.359e-06/1.001, allocations: 2.312 kB / 0.794 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/1.001, allocations: 89.52 kB / 0.7941 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/1.001, allocations: 4.859 kB / 0.7941 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007565/1.002, allocations: 83.3 kB / 0.7942 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/1.002, allocations: 12 kB / 0.7942 GB, free: 12.21 MB / 0.5606 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.0002288/1.002, allocations: 208.1 kB / 0.7944 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/1.002, allocations: 80.89 kB / 0.7945 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/1.003, allocations: 74.42 kB / 0.7945 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/1.003, allocations: 4 kB / 0.7945 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/1.003, allocations: 0 / 0.7945 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001112/1.004, allocations: 0.5393 MB / 0.7951 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/1.006, allocations: 1.327 MB / 0.7964 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/1.006, allocations: 4.188 kB / 0.7964 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/1.007, allocations: 115.9 kB / 0.7965 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/1.007, allocations: 3.984 kB / 0.7965 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/1.007, allocations: 8 kB / 0.7965 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/1.007, allocations: 7.938 kB / 0.7965 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.007, allocations: 4 kB / 0.7965 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/1.008, allocations: 0.9256 MB / 0.7974 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/1.009, allocations: 212.2 kB / 0.7976 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.53e-05/1.009, allocations: 12.88 kB / 0.7976 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007422/1.01, allocations: 71.86 kB / 0.7977 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/1.01, allocations: 23.97 kB / 0.7977 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.709e-05/1.01, allocations: 27.97 kB / 0.7977 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005319/1.01, allocations: 435 kB / 0.7981 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/1.01, allocations: 4 kB / 0.7981 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009937/1.011, allocations: 375.1 kB / 0.7985 GB, free: 7.621 MB / 0.5606 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.000427/1.012, allocations: 179 kB / 0.7987 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001564/1.013, allocations: 0.6949 MB / 0.7994 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.013, allocations: 4 kB / 0.7994 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005775/1.014, allocations: 244.4 kB / 0.7996 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/1.016, allocations: 441.9 kB / 0.8 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/1.019, allocations: 1.719 MB / 0.8017 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/1.019, allocations: 0.9654 MB / 0.8026 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007933/1.02, allocations: 201.6 kB / 0.8028 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/1.02, allocations: 55.42 kB / 0.8029 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/1.02, allocations: 0 / 0.8029 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of Templates: time 0.02406/1.044, allocations: 14.67 MB / 0.8172 GB, free: 4.609 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.makefile (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)