Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 193.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.975/2.975, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001253, allocations: 62.59 kB / 0.9121 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3859, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003904/0.3899, allocations: 1.434 MB / 1.07 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.3923, allocations: 1.1 MB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002901/0.3926, allocations: 4 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.3927, allocations: 35.53 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.393, allocations: 39.53 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005081/0.3935, allocations: 119.8 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004748/0.394, allocations: 340.6 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006194/0.3946, allocations: 217.9 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/0.395, allocations: 131.5 kB / 1.072 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/0.3952, allocations: 147.2 kB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.467e-05/0.3953, allocations: 43.98 kB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.939e-05/0.3954, allocations: 40 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.247e-05/0.3955, allocations: 83.7 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.3957, allocations: 159.1 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006557/0.3963, allocations: 462.7 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.3964, allocations: 0 / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.057e-06/0.3964, allocations: 0 / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.672e-05/0.3964, allocations: 0 / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001216/0.3976, allocations: 0.5774 MB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.272e-05/0.3977, allocations: 16.02 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.01e-05/0.3978, allocations: 40.47 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006207/0.3984, allocations: 333.3 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.3985, allocations: 21.38 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.757e-05/0.3985, allocations: 32.38 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000624/0.3992, allocations: 291.1 kB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.3992, allocations: 4.188 kB / 1.074 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.3992, allocations: 19.81 kB / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.3993, allocations: 12 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005409/0.3998, allocations: 235.9 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.4011, allocations: 0.8288 MB / 1.075 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005274/0.4017, allocations: 253.4 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.4019, allocations: 117.3 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.402, allocations: 240 / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.402, allocations: 42.8 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 3.456e-06/0.402, allocations: 0 / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0008083/0.4028, allocations: 313.2 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.4029, allocations: 55.41 kB / 1.076 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.4032, allocations: 211.5 kB / 1.076 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.4032, allocations: 29.7 kB / 1.076 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.4033, allocations: 180.2 kB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.4034, allocations: 74.86 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.824e-05/0.4035, allocations: 73.95 kB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4036, allocations: 326.8 kB / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.4039, allocations: 84.5 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.4041, allocations: 135.9 kB / 1.077 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.4046, allocations: 221.5 kB / 1.077 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4046, allocations: 0 / 1.077 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005436/0.4051, allocations: 281.1 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.4051, allocations: 5.875 kB / 1.077 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4052, allocations: 7.938 kB / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.4052, allocations: 7.938 kB / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.4054, allocations: 55.91 kB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.4055, allocations: 0 / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.4056, allocations: 31.73 kB / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.4056, allocations: 8.219 kB / 1.077 GB, free: 0.918 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.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 (34): * Single equations (assignments): 34 * 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.0002444/0.4059, allocations: 153.8 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/0.4059, allocations: 23.8 kB / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006022/0.4065, allocations: 248 kB / 1.078 GB, free: 500 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.4066, allocations: 11.94 kB / 1.078 GB, free: 488 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4066, allocations: 0 / 1.078 GB, free: 488 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4066, allocations: 0 / 1.078 GB, free: 488 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/0.407, allocations: 353.2 kB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.407, allocations: 0 / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.4072, allocations: 47.91 kB / 1.078 GB, free: 36 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.4072, allocations: 4 kB / 1.078 GB, free: 32 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.4073, allocations: 7.984 kB / 1.078 GB, free: 24 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.4073, allocations: 3.938 kB / 1.078 GB, free: 20 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4073, allocations: 0 / 1.078 GB, free: 20 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005376/0.4078, allocations: 327.6 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.145e-05/0.4079, allocations: 104.8 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.4079, allocations: 7.984 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.4081, allocations: 11.94 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.227e-05/0.4082, allocations: 31.95 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.4082, allocations: 8 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000122/0.4083, allocations: 145.5 kB / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.4083, allocations: 0 / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003058/0.4086, allocations: 59.69 kB / 1.079 GB, free: 15.3 MB / 0.8419 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.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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.0001678/0.4088, allocations: 112.3 kB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005819/0.4094, allocations: 235.9 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4094, allocations: 0 / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.4096, allocations: 115.9 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.41, allocations: 27.56 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009427/0.4109, allocations: 494.4 kB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.4114, allocations: 0.7636 MB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001477/0.4115, allocations: 34.28 kB / 1.08 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.086e-05/0.4116, allocations: 31.36 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.4116, allocations: 0 / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of Templates: time 0.005687/0.4173, allocations: 1.879 MB / 1.082 GB, free: 11.63 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)