Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001159/0.001159, allocations: 108 kB / 15.61 MB, free: 152 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.001178/0.001178, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.254/1.254, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.166/2.166, allocations: 390.3 MB / 0.6647 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.91 kB / 0.8127 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5656/0.5669, allocations: 140.4 MB / 0.9498 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.002552/0.5695, allocations: 1.75 MB / 0.9515 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.5705, allocations: 1.148 MB / 0.9526 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.5707, allocations: 6.344 kB / 0.9526 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.75e-05/0.5708, allocations: 55.33 kB / 0.9527 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.5709, allocations: 55.78 kB / 0.9527 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.5712, allocations: 178.3 kB / 0.9529 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003146/0.5715, allocations: 499.7 kB / 0.9534 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003565/0.5719, allocations: 280 kB / 0.9536 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.5721, allocations: 196.9 kB / 0.9538 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.5723, allocations: 244.9 kB / 0.9541 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.275e-05/0.5723, allocations: 57.19 kB / 0.9541 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.747e-05/0.5724, allocations: 57.34 kB / 0.9542 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.211e-05/0.5725, allocations: 117.7 kB / 0.9543 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.5726, allocations: 236.1 kB / 0.9545 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004024/0.573, allocations: 0.6552 MB / 0.9551 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.573, allocations: 5.219 kB / 0.9551 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.803e-06/0.573, allocations: 0 / 0.9551 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.5731, allocations: 3.938 kB / 0.9551 GB, free: 4.879 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001068/0.5741, allocations: 0.7524 MB / 0.9559 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.5742, allocations: 12.66 kB / 0.9559 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.388e-05/0.5743, allocations: 94.2 kB / 0.956 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.852e-05/0.5743, allocations: 57.88 kB / 0.956 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009905/0.5753, allocations: 481.5 kB / 0.9565 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.664e-05/0.5754, allocations: 42.22 kB / 0.9565 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.769e-05/0.5755, allocations: 46.5 kB / 0.9566 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.5765, allocations: 0.4971 MB / 0.9571 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.5765, allocations: 0 / 0.9571 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/0.5766, allocations: 15.03 kB / 0.9571 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.5766, allocations: 12.5 kB / 0.9571 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.5778, allocations: 424.2 kB / 0.9575 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.5793, allocations: 1.231 MB / 0.9587 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008393/0.5802, allocations: 401.2 kB / 0.9591 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005289/0.5807, allocations: 221.9 kB / 0.9593 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.5807, allocations: 4.938 kB / 0.9593 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.5808, allocations: 44.75 kB / 0.9593 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=40): time 1.503e-06/0.5808, allocations: 0 / 0.9593 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40): time 0.001736/0.5825, allocations: 0.5642 MB / 0.9599 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.5826, allocations: 111.1 kB / 0.96 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.5828, allocations: 281.7 kB / 0.9603 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.5829, allocations: 32.23 kB / 0.9603 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.583, allocations: 223.2 kB / 0.9605 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.164e-05/0.5831, allocations: 117 kB / 0.9606 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.5832, allocations: 91.73 kB / 0.9607 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.344e-05/0.5833, allocations: 345.5 kB / 0.961 GB, free: 408 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005089/0.5838, allocations: 163.2 kB / 0.9612 GB, free: 328 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005084/0.5843, allocations: 248.1 kB / 0.9614 GB, free: 148 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.5853, allocations: 391.2 kB / 0.9618 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.5853, allocations: 4 kB / 0.9618 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001212/0.5866, allocations: 468.6 kB / 0.9623 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.5866, allocations: 6.031 kB / 0.9623 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.5866, allocations: 7.594 kB / 0.9623 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.5866, allocations: 3.438 kB / 0.9623 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/0.5871, allocations: 93.3 kB / 0.9624 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.5871, allocations: 11.52 kB / 0.9624 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/0.5874, allocations: 69.64 kB / 0.9624 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.5874, allocations: 11.31 kB / 0.9625 GB, free: 15.58 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 23 (reaToInt2.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 (48): * Single equations (assignments): 48 * 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.0002416/0.5877, allocations: 171.1 kB / 0.9626 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.5878, allocations: 30.59 kB / 0.9626 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.299e-05/0.5879, allocations: 54.39 kB / 0.9627 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.5879, allocations: 4.125 kB / 0.9627 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.5879, allocations: 1.094 kB / 0.9627 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5879, allocations: 5.047 kB / 0.9627 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005893/0.5885, allocations: 456.7 kB / 0.9631 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5885, allocations: 4.812 kB / 0.9631 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/0.5889, allocations: 78.89 kB / 0.9632 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.5889, allocations: 2.594 kB / 0.9632 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.589, allocations: 14.59 kB / 0.9632 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.589, allocations: 9.703 kB / 0.9632 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.589, allocations: 1.031 kB / 0.9632 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.5902, allocations: 0.6477 MB / 0.9639 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.5902, allocations: 106 kB / 0.964 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.426e-05/0.5903, allocations: 15.34 kB / 0.964 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003437/0.5906, allocations: 39.48 kB / 0.964 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.5908, allocations: 60.48 kB / 0.9641 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.5908, allocations: 12.59 kB / 0.9641 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001537/0.591, allocations: 176.1 kB / 0.9643 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.433e-06/0.591, allocations: 0 / 0.9643 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004285/0.5914, allocations: 94.22 kB / 0.9644 GB, free: 14.13 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.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 (40): * Single equations (assignments): 40 * 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.001527/0.593, allocations: 1.223 MB / 0.9656 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.5942, allocations: 429.4 kB / 0.966 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5942, allocations: 4 kB / 0.966 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006087/0.5948, allocations: 237.2 kB / 0.9662 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005297/0.5953, allocations: 47.48 kB / 0.9662 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005128/0.6005, allocations: 3.489 MB / 0.9696 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.6008, allocations: 0.812 MB / 0.9704 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002544/0.6011, allocations: 55.5 kB / 0.9705 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.6013, allocations: 155.1 kB / 0.9706 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/0.6013, allocations: 0 / 0.9706 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.51/4.111, allocations: 7.392 MB / 0.9779 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.339/11.45, allocations: 21.22 kB / 0.9779 GB, free: 4.539 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe 2>&1)