Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001163/0.001163, allocations: 194.5 kB / 16.25 MB, free: 6.621 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.205/1.205, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.412/2.412, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 68.52 kB / 0.8988 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2309, allocations: 157.4 MB / 1.052 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.00269/0.2336, allocations: 1.799 MB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.2348, allocations: 1.143 MB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.2349, allocations: 8 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.988e-05/0.235, allocations: 35.58 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.2352, allocations: 23.73 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.2355, allocations: 163.8 kB / 1.056 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004074/0.2359, allocations: 0.4893 MB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003805/0.2363, allocations: 288.7 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.2365, allocations: 207.2 kB / 1.057 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.2367, allocations: 238.9 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.475e-05/0.2368, allocations: 59.94 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.804e-05/0.2368, allocations: 60 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.905e-05/0.2369, allocations: 127.7 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.2371, allocations: 238.7 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004967/0.2376, allocations: 0.662 MB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2376, allocations: 4 kB / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2376, allocations: 0 / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.2376, allocations: 0 / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.00121/0.2388, allocations: 0.7602 MB / 1.059 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.2389, allocations: 8.625 kB / 1.059 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.197e-05/0.239, allocations: 86.7 kB / 1.059 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.025e-05/0.239, allocations: 56.28 kB / 1.059 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.2401, allocations: 487.9 kB / 1.059 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/0.2401, allocations: 45.31 kB / 1.059 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.557e-05/0.2402, allocations: 48.36 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009635/0.2412, allocations: 0.4986 MB / 1.06 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.2412, allocations: 3.938 kB / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.2412, allocations: 20 kB / 1.06 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.2412, allocations: 12 kB / 1.06 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.2424, allocations: 425.9 kB / 1.06 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.2439, allocations: 1.255 MB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008619/0.2448, allocations: 411.8 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/0.2454, allocations: 222.4 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.564e-05/0.2454, allocations: 11.98 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.2454, allocations: 46.48 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 1.593e-06/0.2455, allocations: 0 / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=41): time 0.001697/0.2472, allocations: 0.5693 MB / 1.063 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.2472, allocations: 106.8 kB / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.2474, allocations: 282.7 kB / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.2475, allocations: 33.7 kB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.2476, allocations: 220.2 kB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.854e-05/0.2477, allocations: 114.3 kB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.2478, allocations: 98.11 kB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.2479, allocations: 346.8 kB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/0.2484, allocations: 160.7 kB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005302/0.249, allocations: 249.6 kB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009607/0.2499, allocations: 394.6 kB / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.25, allocations: 8 kB / 1.065 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001143/0.2511, allocations: 462.5 kB / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.2511, allocations: 9.406 kB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.2511, allocations: 4 kB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2512, allocations: 7.938 kB / 1.065 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004428/0.2516, allocations: 108 kB / 1.065 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.2516, allocations: 4 kB / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.2519, allocations: 63.55 kB / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.252, allocations: 19.97 kB / 1.065 GB, free: 11.18 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 24 (reaToInt2.y,ove.or5.y,ove.or1.y,ove.forMinFlo1.y,ove.or3.y,ove.forMinFlo.y,ove.forCooMax.y,ove.forZerFlo.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,reaToInt3.y,ove.or4.y,ove.intEqu2.y,ove.intEqu1.y,ove.conInt7.y,ove.conInt6.y,ove.conInt4.y,ove.conInt3.y,ove.conInt5.y,ove.conInt2.y,ove.conInt1.y,ove.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0001976/0.2522, allocations: 179.2 kB / 1.065 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.335e-05/0.2522, allocations: 31.62 kB / 1.065 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.86e-05/0.2523, allocations: 42.2 kB / 1.065 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2523, allocations: 11.88 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.2524, allocations: 4 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2524, allocations: 11.86 kB / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005246/0.2529, allocations: 453.1 kB / 1.066 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2529, allocations: 0 / 1.066 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003922/0.2533, allocations: 87.86 kB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.2533, allocations: 4 kB / 1.066 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.2533, allocations: 8 kB / 1.066 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.2534, allocations: 3.938 kB / 1.066 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2534, allocations: 7.984 kB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.2545, allocations: 0.6572 MB / 1.067 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.2546, allocations: 112.6 kB / 1.067 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.2546, allocations: 8 kB / 1.067 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.2549, allocations: 39.89 kB / 1.067 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.2551, allocations: 63.86 kB / 1.067 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.2551, allocations: 12 kB / 1.067 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001317/0.2553, allocations: 182 kB / 1.067 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2553, allocations: 4 kB / 1.067 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004091/0.2557, allocations: 87.59 kB / 1.067 GB, free: 9.102 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,ove.or5.y,reaToInt2.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.intEqu1.y,ove.intEqu2.y,ove.or4.y,reaToInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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.001408/0.2571, allocations: 1.222 MB / 1.068 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.2582, allocations: 442.6 kB / 1.069 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2582, allocations: 0 / 1.069 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000588/0.2588, allocations: 243.7 kB / 1.069 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.2593, allocations: 40.88 kB / 1.069 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005049/0.2644, allocations: 3.643 MB / 1.073 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.2647, allocations: 0.8154 MB / 1.073 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002527/0.265, allocations: 55.27 kB / 1.073 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.2652, allocations: 167.3 kB / 1.074 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.2652, allocations: 0 / 1.074 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.085/4.35, allocations: 6.518 MB / 1.08 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003867/4.351, allocations: 283.5 kB / 1.08 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/6.082, allocations: 4 kB / 1.08 GB, free: 11.66 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe 2>&1)