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.7219/0.7219, allocations: 132.3 MB / 144.9 MB, free: 10.76 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.0009985/0.0009982, allocations: 171.2 kB / 176.9 MB, free: 2.203 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.341/1.341, allocations: 170.5 MB / 379.3 MB, free: 11.96 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.001613/0.001613, allocations: 109 kB / 450 MB, free: 5.855 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.4713/0.4714, allocations: 73.4 MB / 0.6736 GB, free: 47.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.6082, allocations: 108.2 MB / 0.7793 GB, free: 8.504 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.6084, allocations: 86.2 kB / 0.7793 GB, free: 8.422 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02432/0.6328, allocations: 9.898 MB / 0.789 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6328, allocations: 0 / 0.789 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.743e-05/0.6328, allocations: 12 kB / 0.789 GB, free: 14.59 MB / 0.4948 GB 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.001218/0.6341, allocations: 0.7445 MB / 0.7897 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.6341, allocations: 12.02 kB / 0.7897 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.6343, allocations: 63.34 kB / 0.7898 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005879/0.6349, allocations: 411 kB / 0.7902 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.6349, allocations: 40.61 kB / 0.7902 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.962e-05/0.635, allocations: 47.94 kB / 0.7903 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007576/0.6358, allocations: 490.5 kB / 0.7908 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.6358, allocations: 3.984 kB / 0.7908 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.72e-05/0.6358, allocations: 23.94 kB / 0.7908 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.6358, allocations: 12 kB / 0.7908 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005547/0.6364, allocations: 335.9 kB / 0.7911 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.6385, allocations: 1.639 MB / 0.7927 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005662/0.6391, allocations: 296 kB / 0.793 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.6393, allocations: 128.9 kB / 0.7931 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.6393, allocations: 3.984 kB / 0.7931 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003077/0.6396, allocations: 189.5 kB / 0.7933 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.325e-06/0.6396, allocations: 0 / 0.7933 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.0005236/0.6402, allocations: 298.7 kB / 0.7936 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.6402, allocations: 114.8 kB / 0.7937 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.6406, allocations: 343.3 kB / 0.794 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.6407, allocations: 45.7 kB / 0.7941 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.6408, allocations: 228.4 kB / 0.7943 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.871e-05/0.6409, allocations: 104.9 kB / 0.7944 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/0.6409, allocations: 8 kB / 0.7944 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.6411, allocations: 354.8 kB / 0.7947 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.6413, allocations: 125 kB / 0.7949 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.6416, allocations: 219.7 kB / 0.7951 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.6418, allocations: 151.3 kB / 0.7952 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6418, allocations: 0 / 0.7952 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006579/0.6425, allocations: 443.6 kB / 0.7956 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.6425, allocations: 29.7 kB / 0.7957 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.6425, allocations: 4 kB / 0.7957 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.6425, allocations: 4 kB / 0.7957 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.6429, allocations: 79.88 kB / 0.7957 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.6429, allocations: 12.11 kB / 0.7958 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003601/0.6433, allocations: 79.64 kB / 0.7958 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.6433, allocations: 16.88 kB / 0.7958 GB, free: 7.277 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.000125/0.6434, allocations: 148.9 kB / 0.796 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.387e-05/0.6435, allocations: 39.53 kB / 0.796 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005545/0.6441, allocations: 331.1 kB / 0.7963 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.6441, allocations: 4 kB / 0.7963 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.6441, allocations: 0 / 0.7963 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.6441, allocations: 7.938 kB / 0.7964 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.6453, allocations: 0.9088 MB / 0.7972 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6453, allocations: 1.375 kB / 0.7972 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002707/0.6455, allocations: 62.8 kB / 0.7973 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.6456, allocations: 3.953 kB / 0.7973 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.6456, allocations: 15.98 kB / 0.7973 GB, free: 5.699 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.6456, allocations: 8.031 kB / 0.7973 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6456, allocations: 0 / 0.7973 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007465/0.6464, allocations: 0.5605 MB / 0.7979 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.6465, allocations: 160.4 kB / 0.798 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.198e-05/0.6466, allocations: 8 kB / 0.798 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.6469, allocations: 56.02 kB / 0.7981 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.6471, allocations: 51.05 kB / 0.7981 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.6471, allocations: 8 kB / 0.7981 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000259/0.6473, allocations: 262.2 kB / 0.7984 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6474, allocations: 0 / 0.7984 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003657/0.6477, allocations: 83.94 kB / 0.7985 GB, free: 4.477 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.0001879/0.6479, allocations: 121.4 kB / 0.7986 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005377/0.6485, allocations: 367.2 kB / 0.7989 GB, free: 3.98 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6485, allocations: 0.5625 kB / 0.7989 GB, free: 3.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.6487, allocations: 151.9 kB / 0.7991 GB, free: 3.832 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.6491, allocations: 70.59 kB / 0.7992 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009547/0.6501, allocations: 0.5094 MB / 0.7997 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.6505, allocations: 0.8358 MB / 0.8005 GB, free: 2.363 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001882/0.6507, allocations: 47.27 kB / 0.8005 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.6508, allocations: 39.98 kB / 0.8005 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of SimCode: time 5.72e-07/0.6508, allocations: 0 / 0.8005 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of Templates: time 0.00835/0.6592, allocations: 4.648 MB / 0.8051 GB, free: 13.69 MB / 0.5105 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)