Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_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.0009163/0.0009164, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005133/0.005133, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.183/1.183, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.047/2.047, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000278/0.000278, allocations: 12 kB / 0.8161 GB, free: 13.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4907/0.4909, allocations: 142.4 MB / 0.9552 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.001417/0.4924, allocations: 1.383 MB / 0.9566 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009303/0.4933, allocations: 1.135 MB / 0.9577 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.4935, allocations: 6.688 kB / 0.9577 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.648e-05/0.4935, allocations: 27.66 kB / 0.9577 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.4937, allocations: 33.12 kB / 0.9577 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.4939, allocations: 161.3 kB / 0.9579 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.4942, allocations: 460.1 kB / 0.9583 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003013/0.4945, allocations: 262.5 kB / 0.9586 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.4946, allocations: 128.6 kB / 0.9587 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.4948, allocations: 175.7 kB / 0.9589 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.4948, allocations: 15.03 kB / 0.9589 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.118e-05/0.4948, allocations: 14.12 kB / 0.9589 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.429e-05/0.4949, allocations: 69.66 kB / 0.959 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.679e-05/0.495, allocations: 201.7 kB / 0.9592 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.4953, allocations: 0.6082 MB / 0.9598 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.4953, allocations: 0 / 0.9598 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4953, allocations: 0 / 0.9598 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.4953, allocations: 0 / 0.9598 GB, free: 4.031 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.000932/0.4963, allocations: 0.7036 MB / 0.9604 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.4963, allocations: 9.625 kB / 0.9605 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.725e-05/0.4964, allocations: 88.45 kB / 0.9605 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.615e-05/0.4965, allocations: 58.41 kB / 0.9606 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009896/0.4975, allocations: 0.521 MB / 0.9611 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.4975, allocations: 39.16 kB / 0.9611 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.4976, allocations: 45.28 kB / 0.9612 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009206/0.4985, allocations: 0.5218 MB / 0.9617 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4985, allocations: 1.125 kB / 0.9617 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.4985, allocations: 16.16 kB / 0.9617 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.4986, allocations: 10.47 kB / 0.9617 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.4997, allocations: 477.5 kB / 0.9622 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.5009, allocations: 1.236 MB / 0.9634 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008096/0.5018, allocations: 426 kB / 0.9638 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005272/0.5023, allocations: 247.8 kB / 0.964 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.5023, allocations: 10.72 kB / 0.964 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.5024, allocations: 37 kB / 0.9641 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=40): time 1.423e-06/0.5024, allocations: 0 / 0.9641 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40): time 0.001669/0.504, allocations: 0.6433 MB / 0.9647 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.5041, allocations: 111.7 kB / 0.9648 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.5043, allocations: 284.5 kB / 0.9651 GB, free: 312 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.5043, allocations: 29.7 kB / 0.9651 GB, free: 276 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.626e-05/0.5044, allocations: 222.6 kB / 0.9653 GB, free: 68 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.82e-05/0.5045, allocations: 117 kB / 0.9654 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-05/0.5045, allocations: 67.83 kB / 0.9655 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.5046, allocations: 337.9 kB / 0.9658 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005518/0.5052, allocations: 185.4 kB / 0.966 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/0.5058, allocations: 275.2 kB / 0.9663 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.5069, allocations: 444.2 kB / 0.9667 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5069, allocations: 0.9688 kB / 0.9667 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001216/0.5081, allocations: 0.5061 MB / 0.9672 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.5081, allocations: 7.031 kB / 0.9672 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.5081, allocations: 6.25 kB / 0.9672 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5081, allocations: 8.234 kB / 0.9672 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/0.5086, allocations: 113.5 kB / 0.9673 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.5086, allocations: 4.562 kB / 0.9673 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.5089, allocations: 68.2 kB / 0.9674 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.509, allocations: 23.56 kB / 0.9674 GB, free: 14.75 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.0001806/0.5091, allocations: 175.1 kB / 0.9676 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.615e-05/0.5092, allocations: 34.78 kB / 0.9676 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.75e-05/0.5093, allocations: 45.3 kB / 0.9676 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.5093, allocations: 5 kB / 0.9676 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.5093, allocations: 1 kB / 0.9676 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5093, allocations: 1.031 kB / 0.9676 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005176/0.5099, allocations: 452.6 kB / 0.9681 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5099, allocations: 4.984 kB / 0.9681 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/0.5103, allocations: 90.03 kB / 0.9682 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.5103, allocations: 10.61 kB / 0.9682 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.5103, allocations: 14.94 kB / 0.9682 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.5103, allocations: 5.969 kB / 0.9682 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5103, allocations: 4.969 kB / 0.9682 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.5116, allocations: 0.7013 MB / 0.9689 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/0.5116, allocations: 110.3 kB / 0.969 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.5117, allocations: 14.78 kB / 0.969 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003597/0.512, allocations: 59.19 kB / 0.9691 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.5122, allocations: 61.17 kB / 0.9691 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.5122, allocations: 11.72 kB / 0.9691 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001313/0.5123, allocations: 176.3 kB / 0.9693 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5123, allocations: 0 / 0.9693 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003814/0.5127, allocations: 85.59 kB / 0.9694 GB, free: 13.28 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.00148/0.5142, allocations: 1.277 MB / 0.9706 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.5154, allocations: 458 kB / 0.9711 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5154, allocations: 0 / 0.9711 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006254/0.516, allocations: 258.8 kB / 0.9713 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005182/0.5165, allocations: 48.19 kB / 0.9714 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005124/0.5217, allocations: 3.757 MB / 0.975 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.522, allocations: 0.8071 MB / 0.9758 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002327/0.5222, allocations: 55.42 kB / 0.9759 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.5224, allocations: 146.7 kB / 0.976 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.5224, allocations: 0 / 0.976 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9106/1.433, allocations: 6.68 MB / 0.9825 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/1.433, allocations: 266.1 kB / 0.9828 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/3.127, allocations: 0 / 0.9828 GB, free: 2.613 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe 2>&1)