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 1.462/1.462, allocations: 287.4 MB / 302.6 MB, free: 8.332 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.0009818/0.0009818, allocations: 183.1 kB / 371.1 MB, free: 10.82 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.31/1.31, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0007694/0.0007693, allocations: 91.41 kB / 0.7431 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003537, allocations: 9.625 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1725, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch): time 0.5364/0.7089, allocations: 197 MB / 1.171 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02087/0.7298, allocations: 14.48 MB / 1.185 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002286/0.7321, allocations: 43.59 kB / 1.185 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002153/0.7343, allocations: 0.5938 MB / 1.186 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.005621/0.74, allocations: 1.802 MB / 1.188 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.008442/0.7484, allocations: 2.835 MB / 1.19 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00547/0.7539, allocations: 4.319 MB / 1.195 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.7557, allocations: 1.162 MB / 1.196 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004128/0.7599, allocations: 1.845 MB / 1.198 GB, free: 6.613 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001832/0.7617, allocations: 1.121 MB / 1.199 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.7619, allocations: 68.44 kB / 1.199 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004216/0.7662, allocations: 2.435 MB / 1.201 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004596/0.7666, allocations: 488 kB / 1.202 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0004757/0.7671, allocations: 406.6 kB / 1.202 GB, free: 4.098 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003557/0.7707, allocations: 3.291 MB / 1.205 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.7707, allocations: 3.984 kB / 1.205 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7707, allocations: 0 / 1.205 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.991e-05/0.7707, allocations: 0 / 1.205 GB, free: 1.863 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.004819/0.7756, allocations: 2.288 MB / 1.207 GB, free: 184 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.7756, allocations: 10.91 kB / 1.207 GB, free: 184 kB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001939/0.7758, allocations: 148.9 kB / 1.208 GB, free: 60 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/0.7783, allocations: 0.5737 MB / 1.208 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002832/0.7811, allocations: 1.834 MB / 1.21 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005998/0.7817, allocations: 227.8 kB / 1.21 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.7819, allocations: 119.7 kB / 1.21 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002838/0.7847, allocations: 1.623 MB / 1.212 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.7848, allocations: 3.938 kB / 1.212 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-05/0.7849, allocations: 40 kB / 1.212 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.462e-05/0.7849, allocations: 46 kB / 1.212 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003667/0.7886, allocations: 1.772 MB / 1.214 GB, free: 11.12 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.009408/0.798, allocations: 6.974 MB / 1.22 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/0.8011, allocations: 1.445 MB / 1.222 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.8025, allocations: 0.7174 MB / 1.223 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000775/0.8033, allocations: 0.7278 MB / 1.223 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.8033, allocations: 39.12 kB / 1.223 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=71): time 3.196e-06/0.8034, allocations: 0 / 1.223 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of matching and sorting (n=71): time 0.004992/0.8083, allocations: 2.148 MB / 1.225 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.208e-05/0.8085, allocations: 188.5 kB / 1.226 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003277/0.8117, allocations: 2.101 MB / 1.228 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001899/0.8119, allocations: 45.7 kB / 1.228 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006874/0.8126, allocations: 0.7171 MB / 1.228 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.8129, allocations: 244.5 kB / 1.229 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.008e-05/0.813, allocations: 20 kB / 1.229 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.8132, allocations: 365.9 kB / 1.229 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002115/0.8153, allocations: 1.249 MB / 1.23 GB, free: 9.5 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002391/0.8177, allocations: 1.648 MB / 1.232 GB, free: 7.707 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003916/0.8216, allocations: 2.424 MB / 1.234 GB, free: 5.199 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.8216, allocations: 4 kB / 1.234 GB, free: 5.195 MB / 0.7605 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.005257/0.8269, allocations: 3.031 MB / 1.237 GB, free: 2.152 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001916/0.8271, allocations: 295.3 kB / 1.237 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/0.8272, allocations: 8 kB / 1.237 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.8272, allocations: 12 kB / 1.237 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.8287, allocations: 351.4 kB / 1.238 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.604e-05/0.8287, allocations: 12 kB / 1.238 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/0.8308, allocations: 314.7 kB / 1.238 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/0.8309, allocations: 55.97 kB / 1.238 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.831, allocations: 11.94 kB / 1.238 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004632/0.8356, allocations: 2.851 MB / 1.241 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/0.8357, allocations: 8 kB / 1.241 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.8357, allocations: 12 kB / 1.241 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.8371, allocations: 339.7 kB / 1.241 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.663e-05/0.8371, allocations: 23.91 kB / 1.241 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/0.8391, allocations: 292.2 kB / 1.242 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.8392, allocations: 59.97 kB / 1.242 GB, free: 13.45 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.0009026/0.8401, allocations: 0.5259 MB / 1.242 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004998/0.8406, allocations: 169.8 kB / 1.242 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003712/0.8444, allocations: 1.65 MB / 1.244 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.8444, allocations: 8 kB / 1.244 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.8444, allocations: 0 / 1.244 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.8444, allocations: 3.984 kB / 1.244 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006708/0.8511, allocations: 3.587 MB / 1.247 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/0.8512, allocations: 4 kB / 1.247 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.8522, allocations: 232 kB / 1.248 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/0.8523, allocations: 7.938 kB / 1.248 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.736e-05/0.8524, allocations: 31.97 kB / 1.248 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.8524, allocations: 4 kB / 1.248 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.8524, allocations: 4 kB / 1.248 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005178/0.8576, allocations: 2.635 MB / 1.25 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.8586, allocations: 454.4 kB / 1.251 GB, free: 3.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004593/0.8591, allocations: 20 kB / 1.251 GB, free: 3.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/0.8606, allocations: 143.9 kB / 1.251 GB, free: 3.797 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.8607, allocations: 64.41 kB / 1.251 GB, free: 3.734 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.582e-05/0.8608, allocations: 39.92 kB / 1.251 GB, free: 3.695 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002346/0.8632, allocations: 1.448 MB / 1.252 GB, free: 2.223 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8632, allocations: 0 / 1.252 GB, free: 2.223 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003008/0.8662, allocations: 0.9832 MB / 1.253 GB, free: 1.238 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.006746/0.873, allocations: 3.678 MB / 1.257 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.006508/0.8795, allocations: 3.904 MB / 1.261 GB, free: 9.582 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.8795, allocations: 0 / 1.261 GB, free: 9.582 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/0.8811, allocations: 0.7689 MB / 1.261 GB, free: 8.812 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00403/0.8851, allocations: 0.6795 MB / 1.262 GB, free: 8.145 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03355/0.9187, allocations: 14.72 MB / 1.277 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.9198, allocations: 1.318 MB / 1.278 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002435/0.9222, allocations: 462.4 kB / 1.278 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/0.9234, allocations: 0.6632 MB / 1.279 GB, free: 6.418 MB / 0.8073 GB Notification: Performance of SimCode: time 7.81e-07/0.9234, allocations: 0 / 1.279 GB, free: 6.418 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0772/1.001, allocations: 51.13 MB / 1.329 GB, free: 3.668 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/1.001, allocations: 227.9 kB / 1.329 GB, free: 3.434 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.189/4.19, allocations: 0 / 1.329 GB, free: 3.434 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)