Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_9_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.001195/0.001195, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 197.8 kB / 16.14 MB, free: 6.648 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.181/1.181, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.051/2.051, allocations: 390.2 MB / 0.6643 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 63.91 kB / 0.812 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4843, allocations: 140.4 MB / 0.949 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1457/0.63, allocations: 164.6 MB / 1.11 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01072/0.6408, allocations: 8.569 MB / 1.118 GB, free: 4.367 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.642, allocations: 31.81 kB / 1.118 GB, free: 4.336 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.6434, allocations: 489.4 kB / 1.119 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003114/0.6466, allocations: 1.45 MB / 1.12 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.6486, allocations: 0.8914 MB / 1.121 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004566/0.6531, allocations: 5.391 MB / 1.126 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/0.6546, allocations: 1.119 MB / 1.127 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002071/0.6567, allocations: 1.296 MB / 1.129 GB, free: 9.664 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/0.6586, allocations: 1.534 MB / 1.13 GB, free: 8.125 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.6588, allocations: 100 kB / 1.13 GB, free: 8.027 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/0.6606, allocations: 1.053 MB / 1.131 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004825/0.6611, allocations: 0.5842 MB / 1.132 GB, free: 6.387 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008522/0.6619, allocations: 0.9447 MB / 1.133 GB, free: 5.438 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002191/0.6641, allocations: 2.676 MB / 1.135 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.6641, allocations: 0 / 1.135 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.01e-07/0.6642, allocations: 0 / 1.135 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.557e-05/0.6642, allocations: 0 / 1.135 GB, free: 2.754 MB / 0.8887 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.003746/0.6679, allocations: 2.254 MB / 1.137 GB, free: 452 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.668, allocations: 8.031 kB / 1.138 GB, free: 444 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002331/0.6682, allocations: 227.9 kB / 1.138 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004125/0.6686, allocations: 198.7 kB / 1.138 GB, free: 4 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.6702, allocations: 1.181 MB / 1.139 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.413e-05/0.6703, allocations: 115 kB / 1.139 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/0.6705, allocations: 148 kB / 1.139 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00265/0.6732, allocations: 1.919 MB / 1.141 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.6732, allocations: 3.938 kB / 1.141 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.6733, allocations: 64 kB / 1.141 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.6734, allocations: 36 kB / 1.141 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003456/0.6768, allocations: 2.475 MB / 1.144 GB, free: 9.973 MB / 0.9044 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.006761/0.6836, allocations: 6.089 MB / 1.15 GB, free: 3.516 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/0.6869, allocations: 2.806 MB / 1.152 GB, free: 0.6992 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001832/0.6887, allocations: 1.413 MB / 1.154 GB, free: 15.28 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001416/0.6901, allocations: 1.738 MB / 1.155 GB, free: 13.18 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.6902, allocations: 56.56 kB / 1.156 GB, free: 13.11 MB / 0.92 GB Notification: Performance of pre-optimization done (n=237): time 3.316e-06/0.6902, allocations: 3.938 kB / 1.156 GB, free: 13.11 MB / 0.92 GB Notification: Performance of matching and sorting (n=237): time 0.004935/0.6951, allocations: 3.434 MB / 1.159 GB, free: 9.625 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.6952, allocations: 77.41 kB / 1.159 GB, free: 9.539 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008038/0.696, allocations: 0.7665 MB / 1.16 GB, free: 8.762 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.828e-05/0.6961, allocations: 65.7 kB / 1.16 GB, free: 8.691 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.6964, allocations: 486.1 kB / 1.16 GB, free: 8.207 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005102/0.6969, allocations: 0.7892 MB / 1.161 GB, free: 7.406 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004426/0.6974, allocations: 347.6 kB / 1.161 GB, free: 7.059 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.6975, allocations: 301.1 kB / 1.162 GB, free: 6.762 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.6988, allocations: 0.898 MB / 1.162 GB, free: 5.859 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/0.7003, allocations: 1.14 MB / 1.164 GB, free: 4.66 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003026/0.7033, allocations: 2.219 MB / 1.166 GB, free: 2.398 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.7034, allocations: 0 / 1.166 GB, free: 2.398 MB / 0.92 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003468/0.7068, allocations: 2.44 MB / 1.168 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.7069, allocations: 7.938 kB / 1.168 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.7069, allocations: 4.469 kB / 1.168 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.7069, allocations: 16 kB / 1.168 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.7084, allocations: 431.4 kB / 1.169 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/0.7084, allocations: 19.92 kB / 1.169 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000939/0.7094, allocations: 202.2 kB / 1.169 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.7095, allocations: 75.98 kB / 1.169 GB, free: 15.21 MB / 0.9356 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.0005572/0.7101, allocations: 441.2 kB / 1.169 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.7103, allocations: 146.2 kB / 1.169 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004066/0.7144, allocations: 2.721 MB / 1.172 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.7144, allocations: 20 kB / 1.172 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.7144, allocations: 3.984 kB / 1.172 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003119/0.7175, allocations: 2.389 MB / 1.174 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005569/0.7231, allocations: 4.283 MB / 1.179 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.7231, allocations: 0 / 1.179 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/0.7246, allocations: 403.6 kB / 1.179 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004763/0.7251, allocations: 105.6 kB / 1.179 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.7252, allocations: 51.98 kB / 1.179 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006294/0.7258, allocations: 1.12 MB / 1.18 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.7258, allocations: 7.875 kB / 1.18 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005343/0.7312, allocations: 4.061 MB / 1.184 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000643/0.7318, allocations: 478.5 kB / 1.185 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.732, allocations: 44 kB / 1.185 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008545/0.7329, allocations: 107.8 kB / 1.185 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000239/0.7331, allocations: 141.7 kB / 1.185 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/0.7333, allocations: 67.98 kB / 1.185 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005896/0.7339, allocations: 0.5381 MB / 1.186 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7339, allocations: 4 kB / 1.186 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001174/0.7351, allocations: 0.6358 MB / 1.186 GB, free: 13.21 MB / 0.9512 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.006115/0.7412, allocations: 4.887 MB / 1.191 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003186/0.7444, allocations: 2.314 MB / 1.193 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7444, allocations: 4.125 kB / 1.193 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001726/0.7461, allocations: 1.284 MB / 1.194 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/0.7483, allocations: 0.5527 MB / 1.195 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01817/0.7664, allocations: 14.86 MB / 1.21 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000804/0.7673, allocations: 1.335 MB / 1.211 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001817/0.7691, allocations: 0.7189 MB / 1.212 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008547/0.7699, allocations: 0.6242 MB / 1.212 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of SimCode: time 6.41e-07/0.77, allocations: 3.938 kB / 1.212 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3804/1.15, allocations: 37.75 MB / 1.249 GB, free: 282.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001383/1.151, allocations: 221.9 kB / 1.249 GB, free: 282 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/3.717, allocations: 0.7812 kB / 1.249 GB, free: 282 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)