Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_Validation_DamperValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.319/2.319, allocations: 248.5 MB / 261.1 MB, free: 6.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001495, allocations: 181.4 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.2 MB / 0.571 GB, free: 11.72 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 94.11 kB / 0.6754 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.441e-05/4.454e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.75 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1932, allocations: 106.2 MB / 0.8907 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.837/1.03, allocations: 139.8 MB / 1.027 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/1.031, allocations: 84 kB / 1.027 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07001/1.101, allocations: 17.46 MB / 1.044 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.104e-06/1.101, allocations: 0 / 1.044 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001061/1.101, allocations: 24 kB / 1.044 GB, free: 12.57 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.003683/1.104, allocations: 1.2 MB / 1.046 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/1.105, allocations: 8.031 kB / 1.046 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003845/1.105, allocations: 171.5 kB / 1.046 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003706/1.105, allocations: 138.4 kB / 1.046 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/1.107, allocations: 0.5967 MB / 1.046 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/1.107, allocations: 95.7 kB / 1.047 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002726/1.107, allocations: 123.9 kB / 1.047 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002972/1.11, allocations: 1.122 MB / 1.048 GB, free: 9.707 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.651e-05/1.11, allocations: 7.953 kB / 1.048 GB, free: 9.699 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/1.11, allocations: 50.36 kB / 1.048 GB, free: 9.684 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.648e-05/1.11, allocations: 24 kB / 1.048 GB, free: 9.66 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00256/1.113, allocations: 0.7848 MB / 1.049 GB, free: 9.168 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008378/1.121, allocations: 3.777 MB / 1.052 GB, free: 6.227 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/1.124, allocations: 0.784 MB / 1.053 GB, free: 5.715 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008516/1.125, allocations: 341.2 kB / 1.053 GB, free: 5.512 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.4e-05/1.125, allocations: 16.72 kB / 1.053 GB, free: 5.496 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001199/1.126, allocations: 0.4922 MB / 1.054 GB, free: 5.121 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=83): time 3.286e-06/1.126, allocations: 0 / 1.054 GB, free: 5.121 MB / 0.6667 GB Notification: Performance of matching and sorting (n=83): time 0.002246/1.128, allocations: 0.7589 MB / 1.055 GB, free: 4.562 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/1.128, allocations: 195.2 kB / 1.055 GB, free: 4.332 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/1.13, allocations: 0.6831 MB / 1.055 GB, free: 3.82 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000234/1.13, allocations: 61.14 kB / 1.056 GB, free: 3.777 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005262/1.131, allocations: 481.7 kB / 1.056 GB, free: 3.469 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003277/1.131, allocations: 238.9 kB / 1.056 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.873e-05/1.131, allocations: 18.12 kB / 1.056 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.00016/1.131, allocations: 347.1 kB / 1.057 GB, free: 2.938 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008137/1.132, allocations: 266.6 kB / 1.057 GB, free: 2.789 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/1.133, allocations: 0.5108 MB / 1.057 GB, free: 2.316 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000814/1.134, allocations: 289 kB / 1.058 GB, free: 2.129 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/1.134, allocations: 4 kB / 1.058 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002358/1.136, allocations: 0.8516 MB / 1.058 GB, free: 1.496 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009237/1.137, allocations: 1.925 MB / 1.06 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/1.137, allocations: 4 kB / 1.06 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.209e-05/1.137, allocations: 12.05 kB / 1.06 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/1.139, allocations: 169.5 kB / 1.06 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.76e-05/1.139, allocations: 12 kB / 1.06 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/1.14, allocations: 168.1 kB / 1.061 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/1.14, allocations: 39.48 kB / 1.061 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/1.14, allocations: 4 kB / 1.061 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002072/1.142, allocations: 0.7395 MB / 1.061 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/1.142, allocations: 4 kB / 1.061 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/1.143, allocations: 12 kB / 1.061 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/1.144, allocations: 153.9 kB / 1.062 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/1.144, allocations: 12 kB / 1.062 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/1.145, allocations: 156 kB / 1.062 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/1.145, allocations: 39.05 kB / 1.062 GB, free: 14.25 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 61 ($PRE.damVal.truHol2.onDelay.u,$PRE.damVal.truHol2.toOutputTrue.enableFire,$PRE.damVal.truHol2.toInitial.enableFire,$PRE.damVal.truDel3.u,$PRE.damVal.truDel4.u,$whenCondition7,$PRE.damVal.truDel4.t_next,$whenCondition4,$PRE.damVal.truDel3.t_next,$whenCondition1,$PRE.damVal.truHol2.onDelay.t_next,damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.truHol2.stateGraphRoot.resume,damVal.truHol2.stateGraphRoot.suspend,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,$PRE.damVal.hys2.y,damVal.hys2.y,$PRE.damVal.hys3.y,damVal.hys3.y,$PRE.damVal.hys4.y,damVal.hys4.y,$PRE.damVal.hys6.y,damVal.hys6.y,$PRE.damVal.hys7.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.u,damVal.truHol2.onDelay.y,$PRE.damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.localActive,$PRE.damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.newActive,$PRE.damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.active,$PRE.damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.localActive,$PRE.damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.newActive,$PRE.damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.active,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.u,damVal.truDel3.y,damVal.truDel4.u,damVal.truDel4.y,damVal.or2.y,damVal.and1.y,damVal.conVal.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004219/1.146, allocations: 213.5 kB / 1.062 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002702/1.146, allocations: 98.78 kB / 1.062 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/1.148, allocations: 0.8248 MB / 1.063 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/1.148, allocations: 8 kB / 1.063 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.148, allocations: 0 / 1.063 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/1.148, allocations: 3.984 kB / 1.063 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00472/1.153, allocations: 2.088 MB / 1.065 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/1.153, allocations: 4 kB / 1.065 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/1.154, allocations: 123.1 kB / 1.065 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.612e-05/1.154, allocations: 7.938 kB / 1.065 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.84e-05/1.154, allocations: 26.88 kB / 1.065 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/1.154, allocations: 4 kB / 1.065 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.154, allocations: 0 / 1.065 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003338/1.158, allocations: 1.364 MB / 1.066 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003189/1.158, allocations: 176.9 kB / 1.067 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/1.158, allocations: 31.61 kB / 1.067 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/1.159, allocations: 88.73 kB / 1.067 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003392/1.16, allocations: 101 kB / 1.067 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/1.16, allocations: 38.11 kB / 1.067 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001003/1.161, allocations: 0.4947 MB / 1.067 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.51e-07/1.161, allocations: 0 / 1.067 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001551/1.162, allocations: 363.6 kB / 1.068 GB, free: 9.648 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (damVal.conVal.I.y) * Number of discrete variables: 41 (damVal.truDel4.u,damVal.truHol2.onDelay.u,damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.active,damVal.truHol2.initialStep.active,damVal.truDel3.u,$cse1,$cse2,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,damVal.hys2.y,damVal.hys3.y,damVal.hys4.y,damVal.hys6.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.y,damVal.truHol2.onDelay.t_next,damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.y,damVal.truDel3.t_next,damVal.truDel4.y,damVal.truDel4.t_next,damVal.or2.y,damVal.and1.y) * Number of discrete states: 10 (damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.hys4.y,damVal.hys6.y,damVal.truHol2.initialStep.newActive,damVal.truHol2.outputTrue.newActive,damVal.hys3.y,damVal.hys7.y,damVal.hys2.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003865/1.166, allocations: 2.318 MB / 1.07 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00327/1.17, allocations: 1.184 MB / 1.071 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/1.17, allocations: 4 kB / 1.071 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/1.171, allocations: 413 kB / 1.071 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/1.172, allocations: 147.2 kB / 1.072 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004587/1.177, allocations: 1.433 MB / 1.073 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008474/1.177, allocations: 1.053 MB / 1.074 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001288/1.179, allocations: 171.1 kB / 1.074 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000893/1.18, allocations: 391.3 kB / 1.075 GB, free: 3.32 MB / 0.6823 GB Notification: Performance of SimCode: time 1.433e-06/1.18, allocations: 3.938 kB / 1.075 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06851/1.248, allocations: 19.27 MB / 1.093 GB, free: 300 kB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002989/1.249, allocations: 194.1 kB / 1.094 GB, free: 72 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.471/4.719, allocations: 2.922 kB / 1.094 GB, free: 72 kB / 0.698 GB