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.1952/0.1974, allocations: 80.85 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.6924/0.8898, allocations: 183.1 MB / 0.8494 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009156/0.899, allocations: 4.26 MB / 0.8536 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.9003, allocations: 29.62 kB / 0.8536 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.9021, allocations: 0.5034 MB / 0.8541 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004029/0.9062, allocations: 1.279 MB / 0.8553 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.909, allocations: 0.9102 MB / 0.8562 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003313/0.9123, allocations: 2.221 MB / 0.8584 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.9133, allocations: 0.6882 MB / 0.8591 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002505/0.9159, allocations: 1.047 MB / 0.8601 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.9173, allocations: 0.6345 MB / 0.8607 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.9174, allocations: 81.92 kB / 0.8608 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002425/0.9199, allocations: 1.182 MB / 0.8619 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004066/0.9203, allocations: 343 kB / 0.8623 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006318/0.9209, allocations: 0.4905 MB / 0.8627 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002547/0.9235, allocations: 1.591 MB / 0.8643 GB, free: 3.918 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/0.9235, allocations: 4 kB / 0.8643 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9235, allocations: 0 / 0.8643 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.9235, allocations: 0 / 0.8643 GB, free: 3.914 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.002293/0.9258, allocations: 1.211 MB / 0.8655 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.9259, allocations: 8.031 kB / 0.8655 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.9272, allocations: 206.8 kB / 0.8657 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.9284, allocations: 0.6475 MB / 0.8663 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/0.9284, allocations: 53.25 kB / 0.8664 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.9285, allocations: 56 kB / 0.8664 GB, free: 1.641 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.9305, allocations: 0.7745 MB / 0.8672 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.9306, allocations: 0 / 0.8672 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.262e-05/0.9306, allocations: 24 kB / 0.8672 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/0.9307, allocations: 25.25 kB / 0.8672 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.9325, allocations: 0.6804 MB / 0.8679 GB, free: 136 kB / 0.6231 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.003611/0.9361, allocations: 2.432 MB / 0.8703 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.9377, allocations: 0.5152 MB / 0.8708 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003555/0.9381, allocations: 208.6 kB / 0.871 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.156e-05/0.9381, allocations: 4.594 kB / 0.871 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.9382, allocations: 42.56 kB / 0.871 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=35): time 2.745e-06/0.9382, allocations: 0 / 0.871 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=35): time 0.002962/0.9412, allocations: 0.8262 MB / 0.8718 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.9412, allocations: 55.41 kB / 0.8719 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000737/0.942, allocations: 0.6096 MB / 0.8725 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.926e-05/0.942, allocations: 37.7 kB / 0.8725 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.9423, allocations: 356.4 kB / 0.8728 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.9424, allocations: 118.2 kB / 0.873 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.9426, allocations: 90.02 kB / 0.873 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.9428, allocations: 374.8 kB / 0.8734 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005612/0.9433, allocations: 218.5 kB / 0.8736 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006394/0.944, allocations: 316.2 kB / 0.8739 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.9451, allocations: 0.4932 MB / 0.8744 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.9451, allocations: 0 / 0.8744 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001369/0.9465, allocations: 0.59 MB / 0.875 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.9465, allocations: 4 kB / 0.875 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.9466, allocations: 4 kB / 0.875 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.9466, allocations: 4 kB / 0.875 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.9472, allocations: 116.8 kB / 0.8751 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.9472, allocations: 4 kB / 0.8751 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007731/0.948, allocations: 87.38 kB / 0.8752 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.948, allocations: 15.98 kB / 0.8752 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005372/0.9486, allocations: 344.9 kB / 0.8755 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003848/0.949, allocations: 264.3 kB / 0.8758 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006103/0.9496, allocations: 385.9 kB / 0.8761 GB, free: 7.25 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.166e-05/0.9496, allocations: 3.938 kB / 0.8761 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.000806/0.9504, allocations: 0.4923 MB / 0.8766 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.9504, allocations: 7.938 kB / 0.8766 GB, free: 6.738 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/0.9504, allocations: 0 / 0.8766 GB, free: 6.738 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.108e-06/0.9505, allocations: 4 kB / 0.8766 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.9508, allocations: 88.64 kB / 0.8767 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.9509, allocations: 4.188 kB / 0.8767 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006504/0.9515, allocations: 63.64 kB / 0.8768 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.9515, allocations: 12 kB / 0.8768 GB, free: 6.57 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.0002059/0.9518, allocations: 204.8 kB / 0.877 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.9519, allocations: 67.25 kB / 0.8771 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.9521, allocations: 74.42 kB / 0.8771 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.9521, allocations: 4 kB / 0.8771 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.9521, allocations: 5.125 kB / 0.8771 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001159/0.9533, allocations: 0.547 MB / 0.8777 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/0.9556, allocations: 1.32 MB / 0.879 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.9557, allocations: 0 / 0.879 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006288/0.9563, allocations: 124 kB / 0.8791 GB, free: 4.121 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.9563, allocations: 0 / 0.8791 GB, free: 4.121 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.9563, allocations: 11.98 kB / 0.8791 GB, free: 4.109 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.9564, allocations: 11.88 kB / 0.8791 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.9564, allocations: 4.875 kB / 0.8791 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.9584, allocations: 0.931 MB / 0.88 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003927/0.9588, allocations: 208.3 kB / 0.8802 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.429e-05/0.9589, allocations: 12 kB / 0.8802 GB, free: 2.895 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006935/0.9596, allocations: 51.88 kB / 0.8803 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-05/0.9597, allocations: 27.95 kB / 0.8803 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.674e-05/0.9598, allocations: 23.98 kB / 0.8803 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005462/0.9603, allocations: 443 kB / 0.8807 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9603, allocations: 0 / 0.8807 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001021/0.9613, allocations: 379.1 kB / 0.8811 GB, free: 1.992 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.0005584/0.9619, allocations: 178.2 kB / 0.8813 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00169/0.9636, allocations: 0.692 MB / 0.882 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.9636, allocations: 0 / 0.882 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005547/0.9642, allocations: 244.6 kB / 0.8822 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/0.9661, allocations: 425.4 kB / 0.8826 GB, free: 488 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.969, allocations: 1.447 MB / 0.884 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007353/0.9698, allocations: 0.9651 MB / 0.8849 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009455/0.9707, allocations: 205.3 kB / 0.8851 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.9709, allocations: 55.42 kB / 0.8852 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of SimCode: time 1.303e-06/0.971, allocations: 0 / 0.8852 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.02752/0.9985, allocations: 15.23 MB / 0.9001 GB, free: 14.66 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)