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.1805/0.1812, allocations: 82.21 MB / 0.5934 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.4863/0.6675, allocations: 152.4 MB / 0.7422 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007916/0.6755, allocations: 4.254 MB / 0.7464 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.6767, allocations: 27.69 kB / 0.7464 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.6784, allocations: 434.1 kB / 0.7468 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004084/0.6825, allocations: 1.199 MB / 0.748 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002664/0.6851, allocations: 0.8298 MB / 0.7488 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002209/0.6874, allocations: 1.287 MB / 0.75 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007712/0.6881, allocations: 0.525 MB / 0.7506 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00152/0.6897, allocations: 0.7327 MB / 0.7513 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005542/0.6902, allocations: 408.7 kB / 0.7517 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.608e-05/0.6903, allocations: 33 kB / 0.7517 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.6917, allocations: 0.5879 MB / 0.7523 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.692, allocations: 273.5 kB / 0.7525 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.6921, allocations: 198 kB / 0.7527 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.6931, allocations: 1.039 MB / 0.7537 GB, free: 12.8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.6932, allocations: 0 / 0.7537 GB, free: 12.8 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6932, allocations: 0 / 0.7537 GB, free: 12.8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.6932, allocations: 5.859 kB / 0.7537 GB, free: 12.79 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.001639/0.6948, allocations: 1.027 MB / 0.7547 GB, free: 12.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.6949, allocations: 10.66 kB / 0.7548 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.6961, allocations: 200.8 kB / 0.7549 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009204/0.697, allocations: 0.5963 MB / 0.7555 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.6971, allocations: 42.59 kB / 0.7556 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.751e-05/0.6971, allocations: 60.38 kB / 0.7556 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.699, allocations: 0.7876 MB / 0.7564 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.699, allocations: 0 / 0.7564 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-05/0.6991, allocations: 29.5 kB / 0.7564 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.562e-05/0.6992, allocations: 20.34 kB / 0.7564 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/0.7009, allocations: 0.7075 MB / 0.7571 GB, free: 11.2 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.003153/0.7041, allocations: 2.449 MB / 0.7595 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.7055, allocations: 0.539 MB / 0.7601 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.7055, allocations: 5.438 kB / 0.7601 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.7056, allocations: 38.59 kB / 0.7601 GB, free: 9.402 MB / 0.545 GB Notification: Performance of pre-optimization done (n=35): time 1.803e-06/0.7056, allocations: 0 / 0.7601 GB, free: 9.402 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.002667/0.7082, allocations: 0.8827 MB / 0.761 GB, free: 9.156 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.7083, allocations: 63.28 kB / 0.761 GB, free: 9.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006134/0.7089, allocations: 0.6062 MB / 0.7616 GB, free: 8.863 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.324e-05/0.709, allocations: 35.39 kB / 0.7616 GB, free: 8.832 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.7092, allocations: 355.2 kB / 0.762 GB, free: 8.641 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.7093, allocations: 129.6 kB / 0.7621 GB, free: 8.547 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.7093, allocations: 5.484 kB / 0.7621 GB, free: 8.547 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.7095, allocations: 373.1 kB / 0.7625 GB, free: 8.215 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/0.71, allocations: 222.9 kB / 0.7627 GB, free: 8.168 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006057/0.7106, allocations: 335.7 kB / 0.763 GB, free: 8.004 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005518/0.7112, allocations: 251.3 kB / 0.7632 GB, free: 7.965 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.7112, allocations: 0 / 0.7632 GB, free: 7.965 MB / 0.545 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00123/0.7124, allocations: 0.6233 MB / 0.7638 GB, free: 7.789 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002677/0.7127, allocations: 0.6067 MB / 0.7644 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.7127, allocations: 6.703 kB / 0.7644 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.7128, allocations: 2.469 kB / 0.7644 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/0.7133, allocations: 125.7 kB / 0.7646 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.7133, allocations: 4.312 kB / 0.7646 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008418/0.7142, allocations: 116.8 kB / 0.7647 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.7142, allocations: 20.89 kB / 0.7647 GB, free: 7.062 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.135e-06/0.7142, allocations: 5.312 kB / 0.7647 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006227/0.7149, allocations: 414.6 kB / 0.7651 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.7149, allocations: 2.844 kB / 0.7651 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.923e-06/0.7149, allocations: 12.39 kB / 0.7651 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.7152, allocations: 88.53 kB / 0.7652 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.7152, allocations: 4.562 kB / 0.7652 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005823/0.7158, allocations: 81 kB / 0.7653 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.7159, allocations: 12.69 kB / 0.7653 GB, free: 6.934 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.0003652/0.7162, allocations: 322.9 kB / 0.7656 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.7164, allocations: 73.77 kB / 0.7657 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.7165, allocations: 78.14 kB / 0.7657 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.7165, allocations: 8.891 kB / 0.7658 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.7165, allocations: 0 / 0.7658 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001079/0.7176, allocations: 0.5748 MB / 0.7663 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.7197, allocations: 1.349 MB / 0.7676 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.7197, allocations: 2.906 kB / 0.7676 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000577/0.7203, allocations: 123.2 kB / 0.7678 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.7203, allocations: 5.312 kB / 0.7678 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.7204, allocations: 14.7 kB / 0.7678 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.7204, allocations: 2.844 kB / 0.7678 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7204, allocations: 0 / 0.7678 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.7222, allocations: 1.047 MB / 0.7688 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/0.7226, allocations: 211.9 kB / 0.769 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.068e-05/0.7227, allocations: 11.91 kB / 0.769 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000748/0.7234, allocations: 83.3 kB / 0.7691 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/0.7235, allocations: 25.3 kB / 0.7691 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-05/0.7236, allocations: 21.36 kB / 0.7691 GB, free: 5.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004297/0.724, allocations: 438.7 kB / 0.7696 GB, free: 4.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.724, allocations: 0 / 0.7696 GB, free: 4.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008806/0.7249, allocations: 376.1 kB / 0.7699 GB, free: 4.867 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.0003728/0.7253, allocations: 168.4 kB / 0.7701 GB, free: 4.758 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001494/0.7268, allocations: 0.7227 MB / 0.7708 GB, free: 4.613 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.7268, allocations: 2.375 kB / 0.7708 GB, free: 4.613 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005359/0.7273, allocations: 264.6 kB / 0.771 GB, free: 4.555 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/0.7293, allocations: 447.2 kB / 0.7715 GB, free: 4.402 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/0.7321, allocations: 1.74 MB / 0.7732 GB, free: 3.312 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005462/0.7326, allocations: 0.9753 MB / 0.7741 GB, free: 2.496 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008171/0.7335, allocations: 202.3 kB / 0.7743 GB, free: 2.402 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.7336, allocations: 59.98 kB / 0.7744 GB, free: 2.391 MB / 0.545 GB Notification: Performance of SimCode: time 1.313e-06/0.7336, allocations: 0 / 0.7744 GB, free: 2.391 MB / 0.545 GB Notification: Performance of Templates: time 0.02318/0.7568, allocations: 14.1 MB / 0.7881 GB, free: 9.914 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: