Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 193.1 kB / 16.13 MB, free: 6.656 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.508/1.508, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.989/2.989, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 67.67 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.4194, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002841/0.4223, allocations: 1.184 MB / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.4237, allocations: 1.006 MB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.4238, allocations: 4 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.068e-05/0.4239, allocations: 11.86 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.424, allocations: 19.78 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.4242, allocations: 71.95 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.4245, allocations: 220.1 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000268/0.4247, allocations: 116.1 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.4249, allocations: 87.62 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.4251, allocations: 87.55 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.482e-05/0.4251, allocations: 16 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.493e-05/0.4252, allocations: 12 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.974e-05/0.4252, allocations: 43.78 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.783e-05/0.4253, allocations: 99.44 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.4256, allocations: 283.2 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4256, allocations: 0 / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4256, allocations: 0 / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.4257, allocations: 0 / 1.071 GB, free: 7.617 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007795/0.4264, allocations: 499.1 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.4265, allocations: 12.03 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.4266, allocations: 24.66 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005114/0.4271, allocations: 280.2 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.4271, allocations: 12.81 kB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.4272, allocations: 24.31 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004397/0.4276, allocations: 195.8 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.4276, allocations: 4.188 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.4277, allocations: 11.94 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.4277, allocations: 11.98 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004268/0.4281, allocations: 153.7 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008598/0.429, allocations: 0.5917 MB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.4294, allocations: 170.6 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.4295, allocations: 64.83 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.4296, allocations: 0 / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.4296, allocations: 38.55 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.032e-06/0.4296, allocations: 0 / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0006377/0.4303, allocations: 222.4 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.4303, allocations: 55.41 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.4305, allocations: 175.9 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.4305, allocations: 33.7 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.4306, allocations: 140.1 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.4307, allocations: 47.45 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.717e-05/0.4308, allocations: 53.7 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4309, allocations: 330.8 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.4311, allocations: 51.97 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.4313, allocations: 95.36 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.4316, allocations: 154.6 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4316, allocations: 0 / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004273/0.432, allocations: 195.1 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.4321, allocations: 8 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.4321, allocations: 0 / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.4321, allocations: 4 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.4323, allocations: 35.97 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.4323, allocations: 4.094 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.4324, allocations: 23.83 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.4325, allocations: 12 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.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 (22): * Single equations (assignments): 22 * 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.0002086/0.4327, allocations: 133.8 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.4327, allocations: 23.73 kB / 1.074 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.717e-05/0.4328, allocations: 21.86 kB / 1.074 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4328, allocations: 4 kB / 1.074 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4328, allocations: 4 kB / 1.074 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4328, allocations: 3.938 kB / 1.074 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.4331, allocations: 281.3 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.4331, allocations: 0 / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.4333, allocations: 23.97 kB / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4333, allocations: 0 / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.4333, allocations: 4 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4333, allocations: 0 / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.4333, allocations: 0 / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004323/0.4337, allocations: 267.1 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.4338, allocations: 92.94 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.4338, allocations: 4 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.434, allocations: 11.94 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.865e-05/0.434, allocations: 27.88 kB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.4341, allocations: 11.98 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.436e-05/0.4342, allocations: 124.2 kB / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4342, allocations: 0 / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002686/0.4344, allocations: 39.84 kB / 1.075 GB, free: 2.547 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * 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.0001617/0.4346, allocations: 107.2 kB / 1.075 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004379/0.4351, allocations: 158.3 kB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4351, allocations: 0 / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.4353, allocations: 75.89 kB / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.4356, allocations: 19.94 kB / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000768/0.4364, allocations: 406.8 kB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.4367, allocations: 0.7322 MB / 1.077 GB, free: 1 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001342/0.4368, allocations: 17.55 kB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.4369, allocations: 23.44 kB / 1.077 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.4369, allocations: 0 / 1.077 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of Templates: time 0.004691/0.4416, allocations: 1.351 MB / 1.078 GB, free: 15.66 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)