Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.DualDuctColdDuctMin.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_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.001161/0.001161, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001129/0.001129, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.176/1.176, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.066/2.066, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 71.88 kB / 0.812 GB, free: 14.72 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4874/0.4886, allocations: 140.4 MB / 0.9491 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides): time 0.002465/0.4911, allocations: 1.78 MB / 0.9508 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.4923, allocations: 1.124 MB / 0.9519 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002492/0.4926, allocations: 11.28 kB / 0.9519 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.4927, allocations: 31.64 kB / 0.952 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.4929, allocations: 36.97 kB / 0.952 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.4932, allocations: 148.3 kB / 0.9521 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.4935, allocations: 465.2 kB / 0.9526 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000306/0.4938, allocations: 274.1 kB / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.4939, allocations: 169 kB / 0.953 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.4941, allocations: 220.8 kB / 0.9532 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.479e-05/0.4942, allocations: 30.44 kB / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.912e-05/0.4942, allocations: 29.41 kB / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.4943, allocations: 94.02 kB / 0.9534 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.4944, allocations: 217.3 kB / 0.9536 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003289/0.4947, allocations: 0.6295 MB / 0.9542 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4947, allocations: 1.531 kB / 0.9542 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.91e-07/0.4947, allocations: 0 / 0.9542 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.4948, allocations: 0 / 0.9542 GB, free: 5.109 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.001029/0.4958, allocations: 0.763 MB / 0.9549 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.4958, allocations: 14.27 kB / 0.955 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.52e-05/0.4959, allocations: 81.78 kB / 0.955 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.909e-05/0.496, allocations: 53.06 kB / 0.9551 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009299/0.4969, allocations: 495 kB / 0.9556 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/0.4969, allocations: 37.19 kB / 0.9556 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-05/0.497, allocations: 47.52 kB / 0.9556 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008422/0.4979, allocations: 0.4908 MB / 0.9561 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4979, allocations: 1.156 kB / 0.9561 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.4979, allocations: 20.16 kB / 0.9561 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.4979, allocations: 10.84 kB / 0.9561 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.499, allocations: 420.8 kB / 0.9565 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.5002, allocations: 1.239 MB / 0.9578 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007559/0.501, allocations: 403.1 kB / 0.9581 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004908/0.5015, allocations: 214.5 kB / 0.9583 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.5015, allocations: 12.31 kB / 0.9584 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.5015, allocations: 36.81 kB / 0.9584 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=40): time 1.472e-06/0.5015, allocations: 1.031 kB / 0.9584 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40): time 0.001535/0.5031, allocations: 0.5627 MB / 0.9589 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.5031, allocations: 111.8 kB / 0.9591 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.5033, allocations: 285.4 kB / 0.9593 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.5033, allocations: 31.42 kB / 0.9594 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/0.5034, allocations: 223.3 kB / 0.9596 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.953e-05/0.5035, allocations: 118 kB / 0.9597 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.5036, allocations: 95.3 kB / 0.9598 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.72e-05/0.5036, allocations: 341.5 kB / 0.9601 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004668/0.5041, allocations: 162.6 kB / 0.9603 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004771/0.5046, allocations: 248.5 kB / 0.9605 GB, free: 380 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008645/0.5055, allocations: 395.9 kB / 0.9609 GB, free: 124 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5055, allocations: 1.156 kB / 0.9609 GB, free: 124 kB / 0.7169 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001094/0.5066, allocations: 466.5 kB / 0.9613 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.5066, allocations: 6.844 kB / 0.9613 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.5066, allocations: 7.156 kB / 0.9613 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.5066, allocations: 2.844 kB / 0.9613 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.5071, allocations: 97.88 kB / 0.9614 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.5071, allocations: 8.547 kB / 0.9614 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.5074, allocations: 69.05 kB / 0.9615 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.5074, allocations: 16 kB / 0.9615 GB, free: 15.8 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.0002029/0.5076, allocations: 175.5 kB / 0.9617 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.864e-05/0.5077, allocations: 34.12 kB / 0.9617 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.843e-05/0.5078, allocations: 49.61 kB / 0.9618 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.5078, allocations: 12.94 kB / 0.9618 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.5078, allocations: 1.062 kB / 0.9618 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5078, allocations: 0 / 0.9618 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005333/0.5083, allocations: 449.9 kB / 0.9622 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.5084, allocations: 0 / 0.9622 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/0.5087, allocations: 78.86 kB / 0.9623 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5088, allocations: 6.75 kB / 0.9623 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.5088, allocations: 19.33 kB / 0.9623 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.5088, allocations: 1.438 kB / 0.9623 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5088, allocations: 1.438 kB / 0.9623 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.5099, allocations: 0.6467 MB / 0.9629 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.51, allocations: 111.4 kB / 0.963 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.51, allocations: 10.03 kB / 0.963 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/0.5104, allocations: 47.44 kB / 0.9631 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.5105, allocations: 65.3 kB / 0.9632 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.5106, allocations: 9.188 kB / 0.9632 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001392/0.5107, allocations: 175.3 kB / 0.9633 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5107, allocations: 0 / 0.9633 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003987/0.5111, allocations: 89.75 kB / 0.9634 GB, free: 14.35 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.001426/0.5125, allocations: 1.226 MB / 0.9646 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001081/0.5136, allocations: 420.5 kB / 0.965 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5136, allocations: 1.031 kB / 0.965 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006/0.5142, allocations: 229.3 kB / 0.9652 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.5148, allocations: 47.98 kB / 0.9653 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005025/0.5198, allocations: 3.625 MB / 0.9688 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.5201, allocations: 0.8196 MB / 0.9696 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002463/0.5204, allocations: 50.95 kB / 0.9697 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.5206, allocations: 146.5 kB / 0.9698 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.5206, allocations: 4 kB / 0.9698 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8416/1.362, allocations: 6.783 MB / 0.9764 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/1.363, allocations: 272.6 kB / 0.9767 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/3.06, allocations: 3.938 kB / 0.9767 GB, free: 5.285 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe 2>&1)