Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002245/0.002245, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002195/0.002195, allocations: 196.9 kB / 16.53 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.545/2.545, allocations: 469.8 MB / 0.7424 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 66.55 kB / 0.9086 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2499, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1717/0.4216, allocations: 166.9 MB / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01139/0.433, allocations: 8.503 MB / 1.235 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006739/0.4337, allocations: 35.81 kB / 1.235 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.435, allocations: 0.5667 MB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002789/0.4378, allocations: 1.547 MB / 1.237 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.4397, allocations: 0.9878 MB / 1.238 GB, free: 11 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003702/0.4434, allocations: 4.086 MB / 1.242 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/0.4448, allocations: 1.323 MB / 1.244 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.4471, allocations: 1.489 MB / 1.245 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001692/0.4488, allocations: 1.515 MB / 1.247 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002674/0.4491, allocations: 188 kB / 1.247 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/0.451, allocations: 1.1 MB / 1.248 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006058/0.4516, allocations: 0.6701 MB / 1.249 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.4432/0.8948, allocations: 1.027 MB / 1.25 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003123/0.898, allocations: 2.735 MB / 1.252 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.898, allocations: 1.062 kB / 1.252 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.898, allocations: 0.5938 kB / 1.252 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.389e-05/0.898, allocations: 0.6562 kB / 1.252 GB, free: 10.38 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.003725/0.9017, allocations: 2.258 MB / 1.254 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.9018, allocations: 10.09 kB / 1.254 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002254/0.902, allocations: 223.8 kB / 1.255 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004442/0.9025, allocations: 202.5 kB / 1.255 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.904, allocations: 1.139 MB / 1.256 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.596e-05/0.904, allocations: 116.2 kB / 1.256 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.9042, allocations: 153.8 kB / 1.256 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/0.9068, allocations: 1.921 MB / 1.258 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/0.9068, allocations: 3.656 kB / 1.258 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.9069, allocations: 65.14 kB / 1.258 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.907, allocations: 36.78 kB / 1.258 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00323/0.9102, allocations: 2.476 MB / 1.261 GB, free: 8.754 MB / 0.9981 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.006541/0.9168, allocations: 6.135 MB / 1.267 GB, free: 22.35 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003256/0.92, allocations: 2.807 MB / 1.269 GB, free: 22.26 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00187/0.9219, allocations: 1.426 MB / 1.271 GB, free: 22.23 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001714/0.9236, allocations: 1.733 MB / 1.272 GB, free: 20.36 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.9237, allocations: 56.69 kB / 1.273 GB, free: 20.32 MB / 1.014 GB Notification: Performance of pre-optimization done (n=237): time 3.487e-06/0.9237, allocations: 1.203 kB / 1.273 GB, free: 20.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=237): time 0.005358/0.929, allocations: 3.432 MB / 1.276 GB, free: 19.95 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.9291, allocations: 76.03 kB / 1.276 GB, free: 19.89 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008946/0.93, allocations: 0.7798 MB / 1.277 GB, free: 19.75 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.9301, allocations: 67.59 kB / 1.277 GB, free: 19.72 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.9304, allocations: 493 kB / 1.277 GB, free: 19.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004553/0.9309, allocations: 0.7832 MB / 1.278 GB, free: 18.99 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004592/0.9313, allocations: 347.3 kB / 1.278 GB, free: 18.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.9314, allocations: 302.6 kB / 1.279 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.9328, allocations: 0.9043 MB / 1.279 GB, free: 18.66 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.9342, allocations: 1.123 MB / 1.281 GB, free: 18.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002926/0.9372, allocations: 2.227 MB / 1.283 GB, free: 18.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.9372, allocations: 1.188 kB / 1.283 GB, free: 18.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003438/0.9406, allocations: 2.432 MB / 1.285 GB, free: 18.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.9406, allocations: 7.031 kB / 1.285 GB, free: 18.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.9407, allocations: 7.781 kB / 1.285 GB, free: 18.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.9407, allocations: 13.47 kB / 1.285 GB, free: 18.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.9422, allocations: 437.5 kB / 1.286 GB, free: 18.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.966e-05/0.9422, allocations: 15.94 kB / 1.286 GB, free: 18.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009886/0.9432, allocations: 163.7 kB / 1.286 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.9434, allocations: 71.89 kB / 1.286 GB, free: 18.11 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005929/0.944, allocations: 442.5 kB / 1.286 GB, free: 17.99 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002438/0.9442, allocations: 143.1 kB / 1.286 GB, free: 17.92 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003797/0.948, allocations: 2.733 MB / 1.289 GB, free: 17.75 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.948, allocations: 27.36 kB / 1.289 GB, free: 17.75 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.948, allocations: 0 / 1.289 GB, free: 17.75 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003012/0.9511, allocations: 2.379 MB / 1.291 GB, free: 17.45 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005164/0.9562, allocations: 4.304 MB / 1.296 GB, free: 16.99 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.9563, allocations: 2.25 kB / 1.296 GB, free: 16.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/0.9577, allocations: 409.3 kB / 1.296 GB, free: 16.99 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000457/0.9581, allocations: 102.4 kB / 1.296 GB, free: 16.97 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.9583, allocations: 52.08 kB / 1.296 GB, free: 16.97 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007117/0.959, allocations: 1.118 MB / 1.297 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.959, allocations: 1.906 kB / 1.297 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00471/0.9637, allocations: 4.063 MB / 1.301 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000657/0.9644, allocations: 478.2 kB / 1.302 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.9646, allocations: 43.47 kB / 1.302 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008323/0.9654, allocations: 52.55 kB / 1.302 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/0.9657, allocations: 139.1 kB / 1.302 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/0.9658, allocations: 69.67 kB / 1.302 GB, free: 15.43 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005876/0.9664, allocations: 0.5478 MB / 1.302 GB, free: 15.33 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.52e-07/0.9664, allocations: 0 / 1.302 GB, free: 15.33 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00129/0.9677, allocations: 0.6526 MB / 1.303 GB, free: 15.27 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005411/0.9731, allocations: 4.891 MB / 1.308 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.007198/0.9803, allocations: 4.859 MB / 1.313 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.9803, allocations: 0.625 kB / 1.313 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001473/0.9818, allocations: 1.282 MB / 1.314 GB, free: 14.32 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/0.984, allocations: 0.5822 MB / 1.314 GB, free: 14.26 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/0.999, allocations: 14.24 MB / 1.328 GB, free: 9.98 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000777/0.9998, allocations: 1.342 MB / 1.33 GB, free: 9.207 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001713/1.001, allocations: 0.7262 MB / 1.33 GB, free: 9.086 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00091/1.002, allocations: 0.6208 MB / 1.331 GB, free: 8.645 MB / 1.014 GB Notification: Performance of SimCode: time 6.41e-07/1.002, allocations: 0 / 1.331 GB, free: 8.645 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2612/1.264, allocations: 39.42 MB / 1.369 GB, free: 14.01 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/14.97, allocations: 12.58 kB / 1.37 GB, free: 14.01 MB / 1.045 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)