Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8298/0.8298, allocations: 132.4 MB / 139.9 MB, free: 15.41 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001177/0.001177, allocations: 168.2 kB / 171.8 MB, free: 2 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.764/1.764, allocations: 170.6 MB / 374.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001775/0.001775, allocations: 105.3 kB / 444.8 MB, free: 9.223 MB / 346.7 MB [/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.5938/0.5938, allocations: 73.39 MB / 0.6666 GB, free: 46.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1792/0.7731, allocations: 107.5 MB / 0.7716 GB, free: 13.29 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/0.7735, allocations: 85.39 kB / 0.7717 GB, free: 13.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02904/0.8026, allocations: 9.802 MB / 0.7813 GB, free: 3.492 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.088e-06/0.8026, allocations: 0 / 0.7813 GB, free: 3.492 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.924e-05/0.8027, allocations: 16.81 kB / 0.7813 GB, free: 3.477 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001936/0.8046, allocations: 0.7539 MB / 0.782 GB, free: 2.676 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.8047, allocations: 8.031 kB / 0.782 GB, free: 2.668 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/0.8049, allocations: 59.34 kB / 0.7821 GB, free: 2.609 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007691/0.8057, allocations: 399.4 kB / 0.7824 GB, free: 2.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.139e-05/0.8058, allocations: 28.72 kB / 0.7825 GB, free: 2.156 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.553e-05/0.8059, allocations: 28 kB / 0.7825 GB, free: 2.129 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006836/0.8066, allocations: 306.6 kB / 0.7828 GB, free: 1.828 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007694/0.8073, allocations: 436.5 kB / 0.7832 GB, free: 1.371 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.8074, allocations: 0 / 0.7832 GB, free: 1.371 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.8074, allocations: 4 kB / 0.7832 GB, free: 1.367 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.8075, allocations: 12 kB / 0.7832 GB, free: 1.355 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.8099, allocations: 1.54 MB / 0.7847 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005824/0.8105, allocations: 280.6 kB / 0.785 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.8107, allocations: 116.8 kB / 0.7851 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.8107, allocations: 8 kB / 0.7851 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003488/0.8111, allocations: 181.2 kB / 0.7853 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.104e-06/0.8111, allocations: 0 / 0.7853 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.0005757/0.8117, allocations: 263.2 kB / 0.7855 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.094e-05/0.8118, allocations: 114.8 kB / 0.7857 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.8121, allocations: 276.9 kB / 0.7859 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/0.8121, allocations: 37.69 kB / 0.786 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.8123, allocations: 244.1 kB / 0.7862 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.911e-05/0.8124, allocations: 97.03 kB / 0.7863 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.073e-05/0.8124, allocations: 0 / 0.7863 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.8126, allocations: 350.8 kB / 0.7866 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.8128, allocations: 108.9 kB / 0.7867 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.8131, allocations: 211.5 kB / 0.7869 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.8133, allocations: 109.6 kB / 0.787 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.8133, allocations: 7.969 kB / 0.787 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006533/0.814, allocations: 362 kB / 0.7874 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.525e-05/0.814, allocations: 33.7 kB / 0.7874 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.814, allocations: 4 kB / 0.7874 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/0.8141, allocations: 4 kB / 0.7874 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/0.8145, allocations: 88.09 kB / 0.7875 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.8145, allocations: 4.859 kB / 0.7875 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004051/0.8149, allocations: 70.12 kB / 0.7876 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/0.815, allocations: 19.98 kB / 0.7876 GB, free: 12.72 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.preHeatCoil.toOn.enableFire,$PRE.preHeatCoil.toOff.enableFire,preHeatCoil.stateGraphRoot.resume,preHeatCoil.stateGraphRoot.suspend,$whenCondition2,$whenCondition1,$PRE.TMix.T_start,TMix.T_start,$PRE.TMix.count,TMix.count,$PRE.preHeatCoil.preHeaOn.y,preHeatCoil.preHeaOn.y,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.enableFire,preHeatCoil.toOff.fire,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.t_start) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * 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.0001793/0.8151, allocations: 126.1 kB / 0.7877 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.941e-05/0.8152, allocations: 39.53 kB / 0.7877 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007694/0.816, allocations: 295.1 kB / 0.788 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.816, allocations: 4 kB / 0.788 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.816, allocations: 4 kB / 0.788 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.8161, allocations: 3.984 kB / 0.788 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.8176, allocations: 0.8271 MB / 0.7888 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.8176, allocations: 6.047 kB / 0.7889 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003337/0.8179, allocations: 59.92 kB / 0.7889 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.818, allocations: 5.594 kB / 0.7889 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.818, allocations: 4 kB / 0.7889 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/0.818, allocations: 7.984 kB / 0.7889 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.872e-06/0.818, allocations: 3.953 kB / 0.7889 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008929/0.8189, allocations: 0.5336 MB / 0.7895 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.8191, allocations: 144.5 kB / 0.7896 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.736e-05/0.8192, allocations: 4 kB / 0.7896 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.8196, allocations: 55.97 kB / 0.7896 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.8197, allocations: 43.92 kB / 0.7897 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.8198, allocations: 8 kB / 0.7897 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002354/0.82, allocations: 204.6 kB / 0.7899 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/0.82, allocations: 0 / 0.7899 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004654/0.8205, allocations: 75.84 kB / 0.79 GB, free: 10.19 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (preHeatCoil.preHeaCoiCon.I.y) * Number of discrete variables: 20 (preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.localActive,preHeatCoil.pumOff.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,TMix.T_start,TMix.count,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.fire,preHeatCoil.toOff.t_start) * Number of discrete states: 4 (TMix.count,preHeatCoil.pumOff.newActive,preHeatCoil.pumOn.newActive,preHeatCoil.preHeaOn.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000245/0.8207, allocations: 121.4 kB / 0.7901 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006148/0.8214, allocations: 343.1 kB / 0.7904 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.8214, allocations: 4 kB / 0.7904 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.8216, allocations: 139.9 kB / 0.7905 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.8221, allocations: 62.5 kB / 0.7906 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.8233, allocations: 0.4991 MB / 0.7911 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/0.8238, allocations: 0.8311 MB / 0.7919 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002107/0.8241, allocations: 53.56 kB / 0.792 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.8242, allocations: 31.42 kB / 0.792 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of SimCode: time 4.4e-07/0.8242, allocations: 0 / 0.792 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of Templates: time 0.009566/0.8338, allocations: 4.118 MB / 0.796 GB, free: 4.02 MB / 0.4948 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)