Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.541/2.541, allocations: 287.5 MB / 302.4 MB, free: 8.266 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.001387/0.001387, allocations: 174.1 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009434/0.0009431, allocations: 85.36 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008443/0.0008446, allocations: 15.28 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2412, allocations: 115.3 MB / 0.9784 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch): time 1.233/1.474, allocations: 197 MB / 1.171 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.04198/1.516, allocations: 14.47 MB / 1.185 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003386/1.519, allocations: 48.34 kB / 1.185 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004503/1.524, allocations: 0.5947 MB / 1.186 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01136/1.535, allocations: 1.794 MB / 1.187 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01832/1.554, allocations: 2.84 MB / 1.19 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01084/1.565, allocations: 4.291 MB / 1.194 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003759/1.569, allocations: 1.066 MB / 1.195 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008629/1.577, allocations: 1.836 MB / 1.197 GB, free: 6.789 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004101/1.581, allocations: 1.13 MB / 1.198 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0007472/1.582, allocations: 68.19 kB / 1.198 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01112/1.593, allocations: 2.439 MB / 1.201 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001554/1.595, allocations: 487.9 kB / 1.201 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001234/1.596, allocations: 405.6 kB / 1.202 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.009767/1.606, allocations: 3.284 MB / 1.205 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/1.606, allocations: 3.25 kB / 1.205 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.296e-06/1.606, allocations: 7.938 kB / 1.205 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.519e-05/1.606, allocations: 0 / 1.205 GB, free: 2.027 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.0129/1.619, allocations: 2.31 MB / 1.207 GB, free: 348 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.133e-05/1.619, allocations: 10.84 kB / 1.207 GB, free: 348 kB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006096/1.62, allocations: 161.4 kB / 1.207 GB, free: 212 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006873/1.627, allocations: 0.5654 MB / 1.208 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007562/1.634, allocations: 1.776 MB / 1.209 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001705/1.636, allocations: 223.2 kB / 1.21 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005786/1.637, allocations: 117.8 kB / 1.21 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007391/1.644, allocations: 1.623 MB / 1.211 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.594e-05/1.644, allocations: 7.938 kB / 1.211 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002898/1.645, allocations: 43.78 kB / 1.211 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/1.645, allocations: 42 kB / 1.211 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01052/1.655, allocations: 1.78 MB / 1.213 GB, free: 11.41 MB / 0.7448 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.02524/1.68, allocations: 6.962 MB / 1.22 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008789/1.689, allocations: 1.445 MB / 1.221 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002888/1.692, allocations: 0.7127 MB / 1.222 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/1.694, allocations: 0.7239 MB / 1.223 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.776e-05/1.694, allocations: 43.12 kB / 1.223 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=71): time 3.216e-06/1.694, allocations: 0 / 1.223 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=71): time 0.009504/1.703, allocations: 2.141 MB / 1.225 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/1.703, allocations: 192.5 kB / 1.225 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005044/1.708, allocations: 2.101 MB / 1.227 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0003666/1.709, allocations: 41.7 kB / 1.227 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001002/1.71, allocations: 0.7249 MB / 1.228 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004125/1.71, allocations: 244.4 kB / 1.228 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/1.71, allocations: 27.98 kB / 1.228 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001975/1.711, allocations: 357.9 kB / 1.229 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003854/1.715, allocations: 1.249 MB / 1.23 GB, free: 9.816 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004438/1.719, allocations: 1.644 MB / 1.231 GB, free: 8.031 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004172/1.723, allocations: 1.338 MB / 1.233 GB, free: 6.695 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/1.723, allocations: 4 kB / 1.233 GB, free: 6.691 MB / 0.7605 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.009677/1.733, allocations: 3.03 MB / 1.236 GB, free: 3.648 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002617/1.733, allocations: 293.2 kB / 1.236 GB, free: 3.266 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.712e-05/1.733, allocations: 12 kB / 1.236 GB, free: 3.254 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.94e-05/1.733, allocations: 19.89 kB / 1.236 GB, free: 3.234 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002978/1.736, allocations: 335.6 kB / 1.236 GB, free: 2.906 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.801e-05/1.736, allocations: 15.94 kB / 1.236 GB, free: 2.891 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003548/1.74, allocations: 321.8 kB / 1.237 GB, free: 2.574 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003228/1.74, allocations: 59.97 kB / 1.237 GB, free: 2.516 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.74, allocations: 4 kB / 1.237 GB, free: 2.512 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008943/1.749, allocations: 2.843 MB / 1.239 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-05/1.749, allocations: 16.36 kB / 1.239 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/1.749, allocations: 16 kB / 1.239 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002956/1.752, allocations: 339.5 kB / 1.24 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.788e-05/1.752, allocations: 19.94 kB / 1.24 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003418/1.756, allocations: 280.7 kB / 1.24 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002414/1.756, allocations: 55.97 kB / 1.24 GB, free: 14.96 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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.001379/1.758, allocations: 0.5298 MB / 1.241 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006509/1.758, allocations: 165.8 kB / 1.241 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006768/1.765, allocations: 1.652 MB / 1.242 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-05/1.765, allocations: 11.98 kB / 1.242 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/1.765, allocations: 0 / 1.242 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-05/1.765, allocations: 11.92 kB / 1.242 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/1.777, allocations: 3.591 MB / 1.246 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-05/1.777, allocations: 12.22 kB / 1.246 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002198/1.779, allocations: 223.7 kB / 1.246 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.506e-05/1.779, allocations: 4 kB / 1.246 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/1.779, allocations: 31.98 kB / 1.246 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.404e-05/1.779, allocations: 7.938 kB / 1.246 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/1.779, allocations: 7.984 kB / 1.246 GB, free: 8.594 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009821/1.789, allocations: 2.627 MB / 1.249 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/1.791, allocations: 450.5 kB / 1.249 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004685/1.791, allocations: 20.05 kB / 1.249 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002667/1.794, allocations: 155.8 kB / 1.249 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/1.794, allocations: 60.48 kB / 1.249 GB, free: 5.227 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/1.794, allocations: 31.97 kB / 1.249 GB, free: 5.195 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.003643/1.798, allocations: 1.448 MB / 1.251 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.81e-07/1.798, allocations: 0 / 1.251 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004513/1.802, allocations: 0.9754 MB / 1.252 GB, free: 2.746 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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.01266/1.815, allocations: 3.686 MB / 1.255 GB, free: 15 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01247/1.828, allocations: 3.903 MB / 1.259 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.828, allocations: 0 / 1.259 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.003141/1.831, allocations: 0.762 MB / 1.26 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006307/1.837, allocations: 0.6909 MB / 1.261 GB, free: 9.637 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05633/1.894, allocations: 14.71 MB / 1.275 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/1.895, allocations: 1.322 MB / 1.276 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.003744/1.899, allocations: 456.9 kB / 1.277 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002006/1.901, allocations: 0.6594 MB / 1.277 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of SimCode: time 1.633e-06/1.901, allocations: 0 / 1.277 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1358/2.037, allocations: 50.73 MB / 1.327 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003139/2.037, allocations: 235.8 kB / 1.327 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.573/6.61, allocations: 0 / 1.327 GB, free: 5.352 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch_fmu --startTime=0 --stopTime=25200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch.fmu > Buildings_8.0.0_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe 2>&1)