Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_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.0009977/0.0009978, allocations: 104 kB / 15.6 MB, free: 148 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.001015/0.001015, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.259/1.259, allocations: 222.9 MB / 240.2 MB, free: 4.215 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.182/2.182, allocations: 390.3 MB / 0.6647 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 67.89 kB / 0.8127 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5235/0.5248, allocations: 140.4 MB / 0.9498 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides): time 0.002223/0.5271, allocations: 1.338 MB / 0.9511 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.5283, allocations: 1.311 MB / 0.9524 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.5285, allocations: 8.156 kB / 0.9524 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.346e-05/0.5285, allocations: 35.53 kB / 0.9524 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.5287, allocations: 31.27 kB / 0.9524 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.5291, allocations: 222.2 kB / 0.9526 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.5294, allocations: 380.9 kB / 0.953 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.5297, allocations: 176.9 kB / 0.9532 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.5298, allocations: 149.6 kB / 0.9533 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.5299, allocations: 162.2 kB / 0.9535 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.856e-05/0.53, allocations: 39.38 kB / 0.9535 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.888e-05/0.5301, allocations: 53.86 kB / 0.9536 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.324e-05/0.5302, allocations: 78.44 kB / 0.9536 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.5303, allocations: 160.1 kB / 0.9538 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.5306, allocations: 467.3 kB / 0.9542 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.5306, allocations: 4 kB / 0.9542 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5306, allocations: 0 / 0.9542 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.5306, allocations: 5.125 kB / 0.9542 GB, free: 5.734 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0009305/0.5316, allocations: 0.628 MB / 0.9549 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.5316, allocations: 9.656 kB / 0.9549 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.891e-05/0.5316, allocations: 64.88 kB / 0.9549 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/0.5317, allocations: 41.81 kB / 0.955 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007712/0.5325, allocations: 360.2 kB / 0.9553 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.5325, allocations: 30.38 kB / 0.9553 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.5326, allocations: 38.53 kB / 0.9554 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005579/0.5332, allocations: 312.8 kB / 0.9557 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5332, allocations: 0 / 0.9557 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.5332, allocations: 11.25 kB / 0.9557 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.5332, allocations: 9.406 kB / 0.9557 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006226/0.5338, allocations: 227.4 kB / 0.9559 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009542/0.5348, allocations: 0.995 MB / 0.9569 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000461/0.5353, allocations: 207.2 kB / 0.9571 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.5356, allocations: 101.4 kB / 0.9572 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.5356, allocations: 2.75 kB / 0.9572 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003921/0.536, allocations: 183 kB / 0.9574 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.536, allocations: 0 / 0.9574 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.0009307/0.5369, allocations: 313.9 kB / 0.9577 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.537, allocations: 114.7 kB / 0.9578 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.5371, allocations: 225.8 kB / 0.958 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.5372, allocations: 37.23 kB / 0.958 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.5373, allocations: 172.9 kB / 0.9582 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.5373, allocations: 63.97 kB / 0.9582 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.5374, allocations: 79.27 kB / 0.9583 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.865e-05/0.5375, allocations: 331.9 kB / 0.9586 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/0.5378, allocations: 98.2 kB / 0.9587 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.5381, allocations: 194.5 kB / 0.9589 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005957/0.5387, allocations: 301 kB / 0.9592 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5388, allocations: 1.062 kB / 0.9592 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008487/0.5396, allocations: 372.2 kB / 0.9596 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.5396, allocations: 41.53 kB / 0.9596 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.5397, allocations: 3.938 kB / 0.9596 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.5397, allocations: 8.25 kB / 0.9596 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.54, allocations: 54.88 kB / 0.9597 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.54, allocations: 8.141 kB / 0.9597 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.5403, allocations: 57.11 kB / 0.9597 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.5403, allocations: 15.86 kB / 0.9597 GB, free: 1.312 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$whenCondition2,heaOff.y,$PRE.heaOff.y,reaToInt3.y,ove.intEqu2.y,ove.y1Fan,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,terFan.y,ove.con1.y,ove.con.y,ove.conInt6.y,ove.conInt5.y,ove.logSwi1.y,ove.conInt4.y,ove.conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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.0001153/0.5405, allocations: 158.6 kB / 0.9599 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.5405, allocations: 25.03 kB / 0.9599 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.862e-05/0.5406, allocations: 30.86 kB / 0.9599 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5406, allocations: 3.562 kB / 0.9599 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5406, allocations: 1.188 kB / 0.9599 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5406, allocations: 0 / 0.9599 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.5408, allocations: 323.2 kB / 0.9603 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5408, allocations: 4 kB / 0.9603 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.541, allocations: 43.59 kB / 0.9603 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.5411, allocations: 5.25 kB / 0.9603 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.5411, allocations: 6.984 kB / 0.9603 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.5411, allocations: 1.125 kB / 0.9603 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5411, allocations: 1.188 kB / 0.9603 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006186/0.5417, allocations: 278.2 kB / 0.9606 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/0.5418, allocations: 99.83 kB / 0.9607 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.5418, allocations: 2.219 kB / 0.9607 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.542, allocations: 20.41 kB / 0.9607 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.634e-05/0.5421, allocations: 45.27 kB / 0.9607 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.5421, allocations: 5.25 kB / 0.9607 GB, free: 476 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.427e-05/0.5422, allocations: 149.7 kB / 0.9609 GB, free: 364 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5422, allocations: 0 / 0.9609 GB, free: 364 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002962/0.5425, allocations: 65 kB / 0.9609 GB, free: 344 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,ove.y1Fan,ove.intEqu2.y,reaToInt3.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009273/0.5434, allocations: 0.8239 MB / 0.9618 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007768/0.5442, allocations: 317.2 kB / 0.9621 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5442, allocations: 0 / 0.9621 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.5446, allocations: 126.4 kB / 0.9622 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.5449, allocations: 46.23 kB / 0.9622 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003647/0.5485, allocations: 2.556 MB / 0.9647 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.5488, allocations: 0.7594 MB / 0.9655 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001753/0.549, allocations: 39.3 kB / 0.9655 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.5492, allocations: 96.95 kB / 0.9656 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.5492, allocations: 1.125 kB / 0.9656 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2738/0.823, allocations: 5.673 MB / 0.9711 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.652/8.475, allocations: 12.22 kB / 0.9711 GB, free: 9.707 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe 2>&1)