Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.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.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling",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.454/2.454, allocations: 248.5 MB / 261 MB, free: 5.977 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.001547/0.001546, allocations: 179.4 kB / 320.4 MB, free: 15.32 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.053/2.053, allocations: 205.1 MB / 0.571 GB, free: 11.82 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.00107/0.00107, allocations: 90.41 kB / 0.6754 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.45e-05, allocations: 0 / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.219, allocations: 106.2 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9186/1.138, allocations: 142.5 MB / 1.03 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/1.138, allocations: 73.89 kB / 1.03 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05484/1.193, allocations: 12.45 MB / 1.042 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.873e-06/1.193, allocations: 4 kB / 1.042 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.253e-05/1.193, allocations: 12 kB / 1.042 GB, free: 14.3 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002956/1.196, allocations: 0.9803 MB / 1.043 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/1.196, allocations: 15.97 kB / 1.043 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002439/1.196, allocations: 110.8 kB / 1.043 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003242/1.197, allocations: 102.5 kB / 1.043 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/1.198, allocations: 489.9 kB / 1.044 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.392e-05/1.198, allocations: 54.56 kB / 1.044 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/1.198, allocations: 73.8 kB / 1.044 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/1.2, allocations: 0.665 MB / 1.045 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/1.2, allocations: 3.938 kB / 1.045 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/1.2, allocations: 33.8 kB / 1.045 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/1.2, allocations: 16 kB / 1.045 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/1.201, allocations: 427 kB / 1.045 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005765/1.207, allocations: 2.537 MB / 1.047 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/1.209, allocations: 0.5502 MB / 1.048 GB, free: 9.184 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006694/1.21, allocations: 251.4 kB / 1.048 GB, free: 9.02 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.821e-05/1.21, allocations: 4.562 kB / 1.048 GB, free: 9.016 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008768/1.211, allocations: 362.7 kB / 1.049 GB, free: 8.742 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=62): time 3.787e-06/1.211, allocations: 0 / 1.049 GB, free: 8.742 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62): time 0.001734/1.212, allocations: 0.5558 MB / 1.049 GB, free: 8.305 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/1.213, allocations: 148.4 kB / 1.049 GB, free: 8.133 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008806/1.213, allocations: 458.5 kB / 1.05 GB, free: 7.781 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001441/1.214, allocations: 44.14 kB / 1.05 GB, free: 7.742 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/1.214, allocations: 333.4 kB / 1.05 GB, free: 7.523 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/1.214, allocations: 196.1 kB / 1.05 GB, free: 7.359 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.47e-05/1.214, allocations: 18.12 kB / 1.05 GB, free: 7.352 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002098/1.214, allocations: 380.7 kB / 1.051 GB, free: 7 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006936/1.215, allocations: 209.4 kB / 1.051 GB, free: 6.871 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007534/1.216, allocations: 324 kB / 1.051 GB, free: 6.609 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006962/1.217, allocations: 265.6 kB / 1.051 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.217, allocations: 0 / 1.051 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00214/1.219, allocations: 0.7725 MB / 1.052 GB, free: 5.816 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.00034/1.219, allocations: 0.6547 MB / 1.053 GB, free: 5.125 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.219, allocations: 0 / 1.053 GB, free: 5.125 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/1.219, allocations: 4 kB / 1.053 GB, free: 5.121 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/1.22, allocations: 127.3 kB / 1.053 GB, free: 5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/1.22, allocations: 7.938 kB / 1.053 GB, free: 4.992 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/1.221, allocations: 128.7 kB / 1.053 GB, free: 4.879 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.28e-05/1.222, allocations: 27.67 kB / 1.053 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/1.222, allocations: 4 kB / 1.053 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0019/1.223, allocations: 0.697 MB / 1.054 GB, free: 4.348 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.224, allocations: 4 kB / 1.054 GB, free: 4.344 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/1.224, allocations: 8.141 kB / 1.054 GB, free: 4.336 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008729/1.224, allocations: 114.8 kB / 1.054 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/1.224, allocations: 4 kB / 1.054 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/1.225, allocations: 117.7 kB / 1.054 GB, free: 4.121 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.035e-05/1.226, allocations: 23.3 kB / 1.054 GB, free: 4.102 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition3,$whenCondition1,$whenCondition2,$PRE.optSta.hysSta.y,optSta.hysSta.y,optSta.falEdg.y,$PRE.optSta.falEdg.not_u,optSta.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.nexStaInd,occSch.nexStaInd,$PRE.occSch.nexStoInd,occSch.nexStoInd,$PRE.occSch.iPerSta,occSch.iPerSta,$PRE.occSch.iPerSto,occSch.iPerSto,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,booToRea1.u,conPID.I.trigger_internal,conPID1.I.trigger_internal,TRoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 1 * 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.0003204/1.226, allocations: 151.1 kB / 1.054 GB, free: 3.965 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/1.226, allocations: 75.08 kB / 1.054 GB, free: 3.891 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/1.226, allocations: 78.84 kB / 1.054 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/1.226, allocations: 19.83 kB / 1.054 GB, free: 3.836 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.226, allocations: 4 kB / 1.054 GB, free: 3.832 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/1.226, allocations: 0 / 1.054 GB, free: 3.832 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/1.229, allocations: 1.278 MB / 1.056 GB, free: 2.797 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.229, allocations: 64 / 1.056 GB, free: 2.797 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009533/1.23, allocations: 111.4 kB / 1.056 GB, free: 2.691 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/1.23, allocations: 3.953 kB / 1.056 GB, free: 2.688 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.954e-05/1.23, allocations: 18.8 kB / 1.056 GB, free: 2.676 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-05/1.23, allocations: 7.984 kB / 1.056 GB, free: 2.668 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.23, allocations: 3.938 kB / 1.056 GB, free: 2.664 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002388/1.233, allocations: 0.969 MB / 1.057 GB, free: 1.906 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/1.233, allocations: 142.9 kB / 1.057 GB, free: 1.754 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/1.233, allocations: 22.42 kB / 1.057 GB, free: 1.742 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007675/1.234, allocations: 60.58 kB / 1.057 GB, free: 1.691 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/1.234, allocations: 50.28 kB / 1.057 GB, free: 1.648 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.259e-05/1.234, allocations: 25.86 kB / 1.057 GB, free: 1.629 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006998/1.235, allocations: 359.9 kB / 1.057 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.434e-06/1.235, allocations: 0 / 1.057 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001212/1.236, allocations: 285 kB / 1.058 GB, free: 1.105 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 15 ($whenCondition3,$whenCondition1,$whenCondition2,optSta.hysSta.y,optSta.falEdg.y,optSta.falEdg.not_u,occSch.occupied,occSch.nexStaInd,occSch.nexStoInd,occSch.iPerSta,occSch.iPerSto,occSch.tOcc,occSch.tNonOcc,pul.T_start,pul.count) * Number of discrete states: 10 (pul.count,occSch.tNonOcc,occSch.tOcc,occSch.iPerSto,occSch.nexStoInd,occSch.occupied,occSch.nexStaInd,occSch.iPerSta,optSta.hysSta.y,optSta.falEdg.not_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.002938/1.239, allocations: 1.771 MB / 1.059 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002852/1.242, allocations: 1.18 MB / 1.06 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.242, allocations: 4 kB / 1.06 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000839/1.243, allocations: 269.5 kB / 1.061 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/1.244, allocations: 124.1 kB / 1.061 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/1.248, allocations: 1.018 MB / 1.062 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007102/1.249, allocations: 0.9392 MB / 1.063 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009055/1.249, allocations: 123.2 kB / 1.063 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004852/1.25, allocations: 255.1 kB / 1.063 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of SimCode: time 1.483e-06/1.25, allocations: 0 / 1.063 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05626/1.306, allocations: 14.37 MB / 1.077 GB, free: 14.29 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003971/1.307, allocations: 181.6 kB / 1.077 GB, free: 14.06 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.355/4.662, allocations: 0 / 1.077 GB, free: 14.06 MB / 0.698 GB