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.0009364/0.0009369, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007251/0.007251, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.457/1.457, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.666/2.666, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003631, allocations: 11.98 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9258/0.9262, allocations: 142.4 MB / 0.9552 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.2013/1.128, allocations: 162.4 MB / 1.114 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01576/1.143, allocations: 8.474 MB / 1.122 GB, free: 3.863 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002463/1.146, allocations: 31.81 kB / 1.122 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002211/1.148, allocations: 485.4 kB / 1.123 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006131/1.154, allocations: 1.454 MB / 1.124 GB, free: 1.895 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00352/1.158, allocations: 0.8826 MB / 1.125 GB, free: 1.02 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.007896/1.166, allocations: 5.395 MB / 1.13 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002369/1.168, allocations: 1.08 MB / 1.131 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00388/1.172, allocations: 1.261 MB / 1.132 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003622/1.176, allocations: 1.499 MB / 1.134 GB, free: 7.738 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005031/1.176, allocations: 88 kB / 1.134 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003501/1.18, allocations: 1.045 MB / 1.135 GB, free: 6.605 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0008735/1.181, allocations: 0.5685 MB / 1.135 GB, free: 6.035 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001886/1.183, allocations: 0.9347 MB / 1.136 GB, free: 5.09 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004897/1.187, allocations: 2.632 MB / 1.139 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.188, allocations: 0 / 1.139 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.026e-06/1.188, allocations: 0 / 1.139 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.659e-05/1.188, allocations: 0 / 1.139 GB, free: 2.449 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.004711/1.192, allocations: 2.009 MB / 1.141 GB, free: 392 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/1.192, allocations: 12.03 kB / 1.141 GB, free: 380 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003236/1.193, allocations: 223.9 kB / 1.141 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004652/1.193, allocations: 194.9 kB / 1.141 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/1.195, allocations: 1.169 MB / 1.142 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.199e-05/1.195, allocations: 115 kB / 1.143 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002248/1.196, allocations: 155.9 kB / 1.143 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002965/1.199, allocations: 1.927 MB / 1.145 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.496e-05/1.199, allocations: 4 kB / 1.145 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/1.199, allocations: 63.94 kB / 1.145 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.06e-05/1.199, allocations: 39.98 kB / 1.145 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003698/1.202, allocations: 2.494 MB / 1.147 GB, free: 9.891 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.008454/1.211, allocations: 6.1 MB / 1.153 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0035/1.214, allocations: 2.809 MB / 1.156 GB, free: 0.6016 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001977/1.216, allocations: 1.429 MB / 1.157 GB, free: 15.16 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001494/1.218, allocations: 1.734 MB / 1.159 GB, free: 13.07 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/1.218, allocations: 64.55 kB / 1.159 GB, free: 12.99 MB / 0.92 GB Notification: Performance of pre-optimization done (n=237): time 4.237e-06/1.218, allocations: 4 kB / 1.159 GB, free: 12.99 MB / 0.92 GB Notification: Performance of matching and sorting (n=237): time 0.005411/1.223, allocations: 3.449 MB / 1.162 GB, free: 9.492 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/1.224, allocations: 77.41 kB / 1.162 GB, free: 9.406 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/1.225, allocations: 0.7704 MB / 1.163 GB, free: 8.625 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/1.225, allocations: 65.7 kB / 1.163 GB, free: 8.555 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003738/1.225, allocations: 482.2 kB / 1.164 GB, free: 8.074 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000712/1.226, allocations: 0.7892 MB / 1.164 GB, free: 7.273 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/1.226, allocations: 161.7 kB / 1.165 GB, free: 7.109 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001066/1.226, allocations: 313.1 kB / 1.165 GB, free: 6.801 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/1.228, allocations: 0.9019 MB / 1.166 GB, free: 5.895 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/1.229, allocations: 1.139 MB / 1.167 GB, free: 4.699 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003189/1.232, allocations: 2.231 MB / 1.169 GB, free: 2.426 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/1.232, allocations: 4 kB / 1.169 GB, free: 2.422 MB / 0.92 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.00385/1.236, allocations: 2.448 MB / 1.172 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/1.236, allocations: 11.94 kB / 1.172 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/1.236, allocations: 8 kB / 1.172 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.757e-05/1.236, allocations: 15.94 kB / 1.172 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/1.238, allocations: 443.6 kB / 1.172 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.689e-05/1.238, allocations: 19.92 kB / 1.172 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/1.239, allocations: 202.3 kB / 1.172 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/1.24, allocations: 71.98 kB / 1.172 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.0009438/1.24, allocations: 445.2 kB / 1.173 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003826/1.241, allocations: 146.2 kB / 1.173 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004883/1.246, allocations: 2.752 MB / 1.176 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.731e-05/1.246, allocations: 24 kB / 1.176 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/1.246, allocations: 0 / 1.176 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003377/1.249, allocations: 2.401 MB / 1.178 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00719/1.256, allocations: 4.294 MB / 1.182 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/1.256, allocations: 0 / 1.182 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/1.258, allocations: 415.5 kB / 1.182 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007496/1.259, allocations: 97.61 kB / 1.183 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002783/1.259, allocations: 55.98 kB / 1.183 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/1.261, allocations: 1.116 MB / 1.184 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.261, allocations: 4 kB / 1.184 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008575/1.269, allocations: 4.085 MB / 1.188 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001385/1.271, allocations: 490.5 kB / 1.188 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000436/1.271, allocations: 43.98 kB / 1.188 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/1.273, allocations: 107.9 kB / 1.188 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002964/1.273, allocations: 141.7 kB / 1.188 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/1.273, allocations: 71.97 kB / 1.189 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001064/1.274, allocations: 0.5342 MB / 1.189 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.5e-07/1.274, allocations: 4 kB / 1.189 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002227/1.277, allocations: 0.6435 MB / 1.19 GB, free: 13.11 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.007212/1.284, allocations: 4.899 MB / 1.194 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003707/1.287, allocations: 2.329 MB / 1.197 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/1.287, allocations: 0 / 1.197 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001986/1.289, allocations: 1.292 MB / 1.198 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/1.293, allocations: 0.5522 MB / 1.199 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02419/1.317, allocations: 15.06 MB / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/1.318, allocations: 1.339 MB / 1.215 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002325/1.321, allocations: 0.7231 MB / 1.215 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/1.322, allocations: 0.6242 MB / 1.216 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of SimCode: time 1.223e-06/1.322, allocations: 0 / 1.216 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6089/1.931, allocations: 37.35 MB / 1.252 GB, free: 281.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/1.931, allocations: 225.4 kB / 1.253 GB, free: 281.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.129/5.06, allocations: 0 / 1.253 GB, free: 281.3 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)