Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.679/1.679, allocations: 288.2 MB / 303.2 MB, free: 8.016 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 183.3 kB / 371.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008995/0.0008995, allocations: 94.86 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007/0.0007001, allocations: 14.75 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2005, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch): time 0.6199/0.8204, allocations: 179.4 MB / 1.155 GB, free: 5.773 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02245/0.8429, allocations: 14.04 MB / 1.168 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002634/0.8456, allocations: 46.16 kB / 1.168 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003323/0.8489, allocations: 0.7947 MB / 1.169 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.008193/0.8572, allocations: 2.201 MB / 1.171 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01022/0.8674, allocations: 2.895 MB / 1.174 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005448/0.8729, allocations: 2.239 MB / 1.176 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002366/0.8753, allocations: 1.098 MB / 1.177 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004728/0.88, allocations: 1.666 MB / 1.179 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/0.8822, allocations: 0.8743 MB / 1.18 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0005444/0.8828, allocations: 69.88 kB / 1.18 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006223/0.889, allocations: 2.379 MB / 1.182 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.8902, allocations: 473 kB / 1.183 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.8913, allocations: 401.3 kB / 1.183 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005827/0.8971, allocations: 3.263 MB / 1.186 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.8972, allocations: 0 / 1.186 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8972, allocations: 6.469 kB / 1.186 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001204/0.8973, allocations: 0 / 1.186 GB, free: 14.71 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.007566/0.9049, allocations: 2.299 MB / 1.189 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.9049, allocations: 10.41 kB / 1.189 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005627/0.9055, allocations: 153.7 kB / 1.189 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003331/0.9089, allocations: 0.5735 MB / 1.189 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004308/0.9132, allocations: 1.76 MB / 1.191 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007215/0.9139, allocations: 220.9 kB / 1.191 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004353/0.9144, allocations: 116.5 kB / 1.191 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003796/0.9182, allocations: 1.626 MB / 1.193 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.9182, allocations: 3.984 kB / 1.193 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.9184, allocations: 42.25 kB / 1.193 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-05/0.9184, allocations: 42.27 kB / 1.193 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004147/0.9226, allocations: 1.781 MB / 1.195 GB, free: 9.375 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01225/0.9349, allocations: 6.99 MB / 1.202 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003497/0.9384, allocations: 1.446 MB / 1.203 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007832/0.9392, allocations: 0.6369 MB / 1.204 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.9393, allocations: 51.16 kB / 1.204 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=71): time 3.326e-06/0.9393, allocations: 0 / 1.204 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of matching and sorting (n=71): time 0.005833/0.9451, allocations: 2.137 MB / 1.206 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.9453, allocations: 188.5 kB / 1.206 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004156/0.9494, allocations: 2.102 MB / 1.208 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002929/0.9497, allocations: 49.7 kB / 1.208 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007904/0.9505, allocations: 0.7171 MB / 1.209 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003302/0.9509, allocations: 252.5 kB / 1.209 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.951, allocations: 24 kB / 1.209 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.9512, allocations: 361.9 kB / 1.209 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002265/0.9535, allocations: 1.241 MB / 1.211 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002573/0.9561, allocations: 1.649 MB / 1.212 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002444/0.9585, allocations: 1.334 MB / 1.214 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.9585, allocations: 4 kB / 1.214 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.006126/0.9647, allocations: 3.034 MB / 1.216 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001617/0.9663, allocations: 2.776 MB / 1.219 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.116e-05/0.9664, allocations: 11.98 kB / 1.219 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.454e-05/0.9665, allocations: 15.95 kB / 1.219 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.9681, allocations: 347.5 kB / 1.22 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.422e-05/0.9682, allocations: 19.92 kB / 1.22 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/0.9706, allocations: 330.5 kB / 1.22 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/0.9708, allocations: 55.97 kB / 1.22 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.9708, allocations: 4 kB / 1.22 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005152/0.976, allocations: 2.851 MB / 1.223 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-05/0.9761, allocations: 12.03 kB / 1.223 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.9761, allocations: 12 kB / 1.223 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.9776, allocations: 343.5 kB / 1.223 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.718e-05/0.9777, allocations: 19.92 kB / 1.223 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/0.9799, allocations: 272 kB / 1.223 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.98, allocations: 55.97 kB / 1.223 GB, free: 13.29 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 (vavBra.terHea.flowRegime,vavBra.vav.idx_sorted[1],vavBra.vav.idx_sorted[2],vavBra.vav.idx_sorted[3],vavBra.vav.idx_sorted[4],vavBra.vav.idx_sorted[5],vavBra.vav.idx_sorted[6],vavBra.vav.idx_sorted[7],vavBra.vav.idx_sorted[8],vavBra.vav.idx_sorted[9],vavBra.vav.idx_sorted[10],vavBra.vav.idx_sorted[11],vavBra.vav.idx_sorted[12],vavBra.vav.idx_sorted[13],vavBra.terHea.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 134 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.001127/0.9812, allocations: 0.5258 MB / 1.224 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006202/0.9818, allocations: 173.8 kB / 1.224 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004131/0.9859, allocations: 1.651 MB / 1.226 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.986, allocations: 8 kB / 1.226 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.986, allocations: 7.938 kB / 1.226 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.986, allocations: 3.984 kB / 1.226 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007662/0.9937, allocations: 3.65 MB / 1.229 GB, free: 7.152 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.9937, allocations: 0 / 1.229 GB, free: 7.152 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.9949, allocations: 235.9 kB / 1.229 GB, free: 6.922 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.97e-05/0.9949, allocations: 8 kB / 1.23 GB, free: 6.914 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.642e-05/0.995, allocations: 23.98 kB / 1.23 GB, free: 6.891 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.289e-05/0.995, allocations: 11.92 kB / 1.23 GB, free: 6.879 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.995, allocations: 4 kB / 1.23 GB, free: 6.875 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005904/1.001, allocations: 2.825 MB / 1.232 GB, free: 3.895 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/1.002, allocations: 458.4 kB / 1.233 GB, free: 3.426 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005369/1.003, allocations: 27.98 kB / 1.233 GB, free: 3.398 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001762/1.005, allocations: 147.9 kB / 1.233 GB, free: 3.254 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/1.005, allocations: 60.42 kB / 1.233 GB, free: 3.195 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/1.005, allocations: 35.97 kB / 1.233 GB, free: 3.16 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002644/1.007, allocations: 1.452 MB / 1.234 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.6e-07/1.008, allocations: 4 kB / 1.234 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003589/1.011, allocations: 0.9909 MB / 1.235 GB, free: 0.6875 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (vavBra.vav.filter.x[1],vavBra.vav.filter.x[2]) * Number of discrete variables: 1 (vavBra.terHea.flowRegime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.008125/1.019, allocations: 4.589 MB / 1.24 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.007381/1.027, allocations: 3.903 MB / 1.244 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.027, allocations: 4 kB / 1.244 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001767/1.028, allocations: 0.7699 MB / 1.244 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00385/1.032, allocations: 0.6753 MB / 1.245 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/1.044, allocations: 9.27 MB / 1.254 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/1.045, allocations: 1.346 MB / 1.255 GB, free: 11.72 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002821/1.048, allocations: 456.2 kB / 1.256 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/1.05, allocations: 0.6672 MB / 1.257 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of SimCode: time 7.32e-07/1.05, allocations: 3.938 kB / 1.257 GB, free: 10.6 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09009/1.14, allocations: 49.84 MB / 1.305 GB, free: 9.094 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/1.14, allocations: 246.9 kB / 1.305 GB, free: 8.844 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.403/4.543, allocations: 2.531 kB / 1.305 GB, free: 8.844 MB / 0.8386 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch_fmu --startTime=0 --stopTime=25200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe 2>&1)