Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.372/2.372, allocations: 391.2 MB / 407 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 195.4 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001062, allocations: 115.5 kB / 0.9329 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 56.55 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2786, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002664/0.2814, allocations: 1.326 MB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.2826, allocations: 1.061 MB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.2828, allocations: 4 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.283, allocations: 23.78 kB / 1.221 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.499e-05/0.283, allocations: 19.8 kB / 1.221 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.2833, allocations: 95.94 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.2835, allocations: 260.5 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.2838, allocations: 168.8 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.2839, allocations: 103.5 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.284, allocations: 115.3 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.2841, allocations: 16 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 2.688e-05/0.2841, allocations: 16 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.233e-05/0.2842, allocations: 51.81 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.76e-05/0.2842, allocations: 115.2 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.2845, allocations: 356.9 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2845, allocations: 4 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.32e-07/0.2845, allocations: 0 / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.2845, allocations: 0 / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000757/0.2853, allocations: 0.5474 MB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2853, allocations: 8.031 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.431e-05/0.2854, allocations: 28.66 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004656/0.2859, allocations: 320.9 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.2859, allocations: 20.94 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.286, allocations: 24.38 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.2864, allocations: 229 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2864, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.2864, allocations: 8 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.2864, allocations: 4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/0.2868, allocations: 178.1 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007978/0.2876, allocations: 0.6779 MB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.288, allocations: 146.5 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.2882, allocations: 73 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.2882, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.2882, allocations: 38.56 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of pre-optimization done (n=17): time 9.72e-07/0.2882, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of matching and sorting (n=17): time 0.0005539/0.2888, allocations: 218.5 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.2888, allocations: 55.34 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.289, allocations: 210.2 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.289, allocations: 33.7 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.02e-05/0.2891, allocations: 164.1 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.2891, allocations: 51.3 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.2892, allocations: 53.69 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.881e-05/0.2893, allocations: 334.8 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.2895, allocations: 55.97 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.2896, allocations: 124.3 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.2899, allocations: 168.5 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.29, allocations: 0 / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004111/0.2904, allocations: 218.1 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2904, allocations: 7.938 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2904, allocations: 4 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2904, allocations: 4 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.2906, allocations: 35.97 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.2906, allocations: 7.938 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.2907, allocations: 24.05 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.2908, allocations: 12 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001793/0.2909, allocations: 149.5 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.291, allocations: 15.81 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.303e-05/0.291, allocations: 25.86 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2911, allocations: 7.938 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.2911, allocations: 0 / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2911, allocations: 0 / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.2913, allocations: 305.3 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2914, allocations: 4 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.2915, allocations: 19.98 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.2915, allocations: 7.984 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.2915, allocations: 3.984 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.2915, allocations: 7.938 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2915, allocations: 0 / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007469/0.2923, allocations: 0.9017 MB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.2923, allocations: 92.86 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.2924, allocations: 0 / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.2925, allocations: 15.98 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.2926, allocations: 31.89 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.2927, allocations: 12 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 8.61e-05/0.2927, allocations: 133.5 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2928, allocations: 4 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003745/0.2931, allocations: 43.75 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001537/0.2933, allocations: 116.5 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003844/0.2937, allocations: 159.9 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2937, allocations: 0 / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.2939, allocations: 85.05 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.2942, allocations: 23.98 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000712/0.2949, allocations: 0.6085 MB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.2951, allocations: 0.7525 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001252/0.2952, allocations: 29.95 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.2953, allocations: 23.42 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.2953, allocations: 3.938 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of Templates: time 0.004958/0.3003, allocations: 1.811 MB / 1.231 GB, free: 103.7 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)