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.2202/0.2224, allocations: 80.83 MB / 0.6706 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.6081/0.8305, allocations: 183.1 MB / 0.8494 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006976/0.8376, allocations: 4.267 MB / 0.8536 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007184/0.8383, allocations: 29.34 kB / 0.8536 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.8398, allocations: 0.5047 MB / 0.8541 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003157/0.843, allocations: 1.272 MB / 0.8553 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.8454, allocations: 0.919 MB / 0.8562 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002829/0.8482, allocations: 2.21 MB / 0.8584 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009231/0.8492, allocations: 0.6891 MB / 0.8591 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002081/0.8512, allocations: 1.069 MB / 0.8601 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.8526, allocations: 0.6295 MB / 0.8607 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.8528, allocations: 80.62 kB / 0.8608 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002294/0.8551, allocations: 1.185 MB / 0.862 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003505/0.8555, allocations: 342.8 kB / 0.8623 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005272/0.856, allocations: 0.4906 MB / 0.8628 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002131/0.8581, allocations: 1.587 MB / 0.8643 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.8582, allocations: 3.938 kB / 0.8643 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8582, allocations: 4 kB / 0.8643 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.8582, allocations: 0 / 0.8643 GB, free: 3.715 MB / 0.6231 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.002004/0.8602, allocations: 1.215 MB / 0.8655 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.8602, allocations: 8.031 kB / 0.8655 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.8615, allocations: 202.7 kB / 0.8657 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.8626, allocations: 0.6437 MB / 0.8663 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.879e-05/0.8627, allocations: 49.25 kB / 0.8664 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.8628, allocations: 60 kB / 0.8664 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.8648, allocations: 0.7599 MB / 0.8672 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.8648, allocations: 7.938 kB / 0.8672 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-05/0.8649, allocations: 28 kB / 0.8672 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/0.865, allocations: 33.22 kB / 0.8672 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/0.8668, allocations: 0.6765 MB / 0.8679 GB, free: 15.93 MB / 0.6387 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.003553/0.8704, allocations: 2.428 MB / 0.8703 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.8719, allocations: 0.508 MB / 0.8708 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.8722, allocations: 208.6 kB / 0.871 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.8723, allocations: 8.578 kB / 0.871 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.8723, allocations: 50.5 kB / 0.871 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=35): time 1.983e-06/0.8723, allocations: 0 / 0.871 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of matching and sorting (n=35): time 0.002966/0.8753, allocations: 0.8262 MB / 0.8718 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.8754, allocations: 55.41 kB / 0.8719 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007613/0.8761, allocations: 0.6096 MB / 0.8725 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.938e-05/0.8762, allocations: 33.7 kB / 0.8725 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.8765, allocations: 356.4 kB / 0.8729 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.8767, allocations: 122.2 kB / 0.873 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.8769, allocations: 94.02 kB / 0.8731 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.8771, allocations: 362.8 kB / 0.8734 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005699/0.8776, allocations: 218.5 kB / 0.8736 GB, free: 9.793 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006413/0.8783, allocations: 320.2 kB / 0.8739 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.8794, allocations: 0.4971 MB / 0.8744 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.8795, allocations: 0 / 0.8744 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001433/0.8809, allocations: 0.5861 MB / 0.875 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.8809, allocations: 8 kB / 0.875 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.881, allocations: 0 / 0.875 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.881, allocations: 4 kB / 0.875 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006013/0.8816, allocations: 119.9 kB / 0.8751 GB, free: 8.195 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.8816, allocations: 7.625 kB / 0.8751 GB, free: 8.191 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008179/0.8824, allocations: 99.23 kB / 0.8752 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.8825, allocations: 12 kB / 0.8752 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005515/0.883, allocations: 344.9 kB / 0.8755 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003792/0.8834, allocations: 266 kB / 0.8758 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00066/0.8841, allocations: 389.9 kB / 0.8762 GB, free: 7.039 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.8841, allocations: 4 kB / 0.8762 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.0007686/0.8849, allocations: 496.1 kB / 0.8767 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.8849, allocations: 4.625 kB / 0.8767 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.8849, allocations: 5.562 kB / 0.8767 GB, free: 6.535 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.679e-06/0.8849, allocations: 4 kB / 0.8767 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.8853, allocations: 87.83 kB / 0.8767 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.8853, allocations: 4 kB / 0.8768 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006073/0.8859, allocations: 59.89 kB / 0.8768 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.8859, allocations: 8 kB / 0.8768 GB, free: 6.375 MB / 0.6387 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.0001711/0.8861, allocations: 204.8 kB / 0.877 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.8862, allocations: 71.25 kB / 0.8771 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.8864, allocations: 70.42 kB / 0.8771 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.8864, allocations: 4 kB / 0.8772 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.8864, allocations: 0 / 0.8772 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001174/0.8876, allocations: 0.5509 MB / 0.8777 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/0.8899, allocations: 1.32 MB / 0.879 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.8899, allocations: 0 / 0.879 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000612/0.8905, allocations: 124 kB / 0.8791 GB, free: 3.926 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.8905, allocations: 0 / 0.8791 GB, free: 3.926 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/0.8906, allocations: 16 kB / 0.8791 GB, free: 3.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.8906, allocations: 7.875 kB / 0.8791 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.8906, allocations: 7.984 kB / 0.8791 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.8926, allocations: 0.931 MB / 0.88 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004009/0.893, allocations: 204.2 kB / 0.8802 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.498e-05/0.8931, allocations: 8 kB / 0.8802 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007039/0.8938, allocations: 59.88 kB / 0.8803 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.295e-05/0.8939, allocations: 23.97 kB / 0.8803 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.439e-05/0.894, allocations: 31.91 kB / 0.8803 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005658/0.8946, allocations: 435 kB / 0.8808 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8946, allocations: 4 kB / 0.8808 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001032/0.8956, allocations: 379.1 kB / 0.8811 GB, free: 1.793 MB / 0.6387 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.0004155/0.8961, allocations: 168.3 kB / 0.8813 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.8977, allocations: 0.6959 MB / 0.882 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.8977, allocations: 0 / 0.882 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006009/0.8983, allocations: 244 kB / 0.8822 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/0.9003, allocations: 435 kB / 0.8826 GB, free: 284 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.9029, allocations: 1.443 MB / 0.884 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/0.9035, allocations: 0.9651 MB / 0.885 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007316/0.9042, allocations: 197.3 kB / 0.8852 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.9044, allocations: 55.42 kB / 0.8852 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of SimCode: time 9.72e-07/0.9044, allocations: 0 / 0.8852 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of Templates: time 0.02601/0.9304, allocations: 15.48 MB / 0.9003 GB, free: 14.22 MB / 0.67 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)