Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.871/1.871, allocations: 288.4 MB / 303.7 MB, free: 8.098 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 192.4 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 205.4 MB / 0.631 GB, free: 9.891 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008259/0.0008259, allocations: 98.28 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004568/0.0004568, allocations: 15.31 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1766, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.002684/0.1793, allocations: 2.504 MB / 0.9826 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.181, allocations: 1.108 MB / 0.9837 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.1812, allocations: 19.88 kB / 0.9837 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.1813, allocations: 51.52 kB / 0.9837 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.1815, allocations: 55.5 kB / 0.9838 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.1821, allocations: 229.8 kB / 0.984 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004173/0.1825, allocations: 0.6131 MB / 0.9846 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004412/0.1829, allocations: 417.1 kB / 0.985 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.1831, allocations: 167.2 kB / 0.9852 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.1832, allocations: 175 kB / 0.9853 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.364e-05/0.1833, allocations: 20 kB / 0.9853 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.28e-05/0.1834, allocations: 24 kB / 0.9854 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.87e-05/0.1835, allocations: 83.59 kB / 0.9854 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.1836, allocations: 224.5 kB / 0.9857 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000336/0.1839, allocations: 0.5338 MB / 0.9862 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1839, allocations: 0 / 0.9862 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.184, allocations: 8 kB / 0.9862 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.184, allocations: 0 / 0.9862 GB, free: 21.09 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001217/0.1852, allocations: 0.7886 MB / 0.987 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1852, allocations: 12.03 kB / 0.987 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.616e-05/0.1853, allocations: 60.19 kB / 0.987 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.1858, allocations: 440.6 kB / 0.9874 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.912e-05/0.1859, allocations: 41.38 kB / 0.9875 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.346e-05/0.1859, allocations: 48.38 kB / 0.9875 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008234/0.1868, allocations: 0.5433 MB / 0.9881 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1868, allocations: 7.922 kB / 0.9881 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.1868, allocations: 20 kB / 0.9881 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.1868, allocations: 12 kB / 0.9881 GB, free: 19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00085/0.1877, allocations: 419.6 kB / 0.9885 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.1894, allocations: 1.868 MB / 0.9903 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008153/0.1902, allocations: 366 kB / 0.9907 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.1906, allocations: 176.8 kB / 0.9908 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.1906, allocations: 7.938 kB / 0.9909 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000456/0.1911, allocations: 229.4 kB / 0.9911 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=34): time 1.924e-06/0.1911, allocations: 0 / 0.9911 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.001092/0.1922, allocations: 0.4897 MB / 0.9915 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.1922, allocations: 63.34 kB / 0.9916 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.1926, allocations: 409.3 kB / 0.992 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.1926, allocations: 41.7 kB / 0.992 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.1927, allocations: 256.2 kB / 0.9923 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.49e-05/0.1928, allocations: 94.75 kB / 0.9924 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.827e-05/0.1928, allocations: 4 kB / 0.9924 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.955e-05/0.1929, allocations: 354.8 kB / 0.9927 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.1932, allocations: 169 kB / 0.9929 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.1936, allocations: 265.9 kB / 0.9931 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006793/0.1943, allocations: 427.4 kB / 0.9935 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1943, allocations: 0 / 0.9935 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008989/0.1952, allocations: 0.5376 MB / 0.9941 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.1953, allocations: 37.7 kB / 0.9941 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1953, allocations: 4 kB / 0.9941 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1953, allocations: 4 kB / 0.9941 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.1956, allocations: 83.81 kB / 0.9942 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.1956, allocations: 11.98 kB / 0.9942 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.196, allocations: 83.61 kB / 0.9943 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.196, allocations: 16 kB / 0.9943 GB, free: 12.41 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 33 ($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,preHeatCoil.pumOff.active,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.oldActive,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,preHeatCoil.preHeaCoiCon.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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.0001689/0.1962, allocations: 205.6 kB / 0.9945 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/0.1962, allocations: 47.38 kB / 0.9945 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008375/0.1971, allocations: 413.6 kB / 0.9949 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1971, allocations: 4 kB / 0.9949 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1971, allocations: 0 / 0.9949 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1971, allocations: 0 / 0.9949 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.1984, allocations: 0.9828 MB / 0.9959 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1984, allocations: 4 kB / 0.9959 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/0.1986, allocations: 55.83 kB / 0.9959 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1987, allocations: 4 kB / 0.996 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.1987, allocations: 7.984 kB / 0.996 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1987, allocations: 11.97 kB / 0.996 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1987, allocations: 0 / 0.996 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.1998, allocations: 0.6631 MB / 0.9966 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.1999, allocations: 148.6 kB / 0.9968 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.018e-05/0.2, allocations: 8 kB / 0.9968 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.2003, allocations: 44.02 kB / 0.9968 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.2004, allocations: 55.86 kB / 0.9969 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/0.2004, allocations: 8 kB / 0.9969 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002071/0.2007, allocations: 263.1 kB / 0.9971 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2007, allocations: 0 / 0.9971 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003394/0.201, allocations: 103.7 kB / 0.9972 GB, free: 9.293 MB / 0.6198 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.active,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,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) * Number of clocked states: 0 () * 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.0001123/0.2011, allocations: 113.5 kB / 0.9973 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008019/0.2019, allocations: 459.3 kB / 0.9978 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.202, allocations: 0 / 0.9978 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003756/0.2023, allocations: 192.8 kB / 0.998 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.2028, allocations: 77.45 kB / 0.998 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.2039, allocations: 0.8659 MB / 0.9989 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.2041, allocations: 0.8196 MB / 0.9997 GB, free: 6.703 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002012/0.2043, allocations: 63.42 kB / 0.9997 GB, free: 6.641 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.2044, allocations: 43.42 kB / 0.9998 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of SimCode: time 6.91e-07/0.2044, allocations: 0 / 0.9998 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of Templates: time 0.007506/0.212, allocations: 4.44 MB / 1.004 GB, free: 2.203 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)