Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation",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.001201/0.001201, 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.001222/0.001222, allocations: 195 kB / 16.14 MB, free: 6.645 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.187/1.187, 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.055/2.055, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4819/0.4833, allocations: 140.4 MB / 0.949 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.1719/0.6552, allocations: 199.8 MB / 1.144 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009162/0.6644, allocations: 7.479 MB / 1.151 GB, free: 2.152 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007222/0.6651, allocations: 35.81 kB / 1.151 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.6665, allocations: 0.6103 MB / 1.152 GB, free: 1.504 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004088/0.6706, allocations: 2.252 MB / 1.154 GB, free: 15.25 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.6729, allocations: 1.116 MB / 1.155 GB, free: 14.13 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003387/0.6763, allocations: 4.175 MB / 1.159 GB, free: 9.945 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008726/0.6772, allocations: 0.8208 MB / 1.16 GB, free: 9.102 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.6782, allocations: 0.8753 MB / 1.161 GB, free: 8.223 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.6797, allocations: 1.001 MB / 1.162 GB, free: 7.223 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.6798, allocations: 60 kB / 1.162 GB, free: 7.164 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003511/0.6833, allocations: 2.486 MB / 1.165 GB, free: 4.672 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003456/0.6837, allocations: 402.7 kB / 1.165 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005497/0.6842, allocations: 0.6103 MB / 1.166 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002497/0.6867, allocations: 2.493 MB / 1.168 GB, free: 1.164 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.6868, allocations: 4 kB / 1.168 GB, free: 1.16 MB / 0.92 GB Notification: Performance of FrontEnd: time 6.61e-07/0.6868, allocations: 0 / 1.168 GB, free: 1.16 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.6868, allocations: 0 / 1.168 GB, free: 1.16 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002715/0.6895, allocations: 1.628 MB / 1.17 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.6896, allocations: 12.03 kB / 1.17 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/0.6897, allocations: 135.3 kB / 1.17 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002243/0.6919, allocations: 374.2 kB / 1.17 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.693, allocations: 0.8239 MB / 1.171 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/0.6931, allocations: 66 kB / 1.171 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.6932, allocations: 84 kB / 1.171 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.6947, allocations: 1.042 MB / 1.172 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.6947, allocations: 3.984 kB / 1.172 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.752e-05/0.6948, allocations: 32 kB / 1.172 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.657e-05/0.6948, allocations: 45.98 kB / 1.172 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.6962, allocations: 0.8783 MB / 1.173 GB, free: 11.91 MB / 0.9356 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.004039/0.7003, allocations: 4.284 MB / 1.177 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.7013, allocations: 0.7102 MB / 1.178 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006713/0.702, allocations: 451 kB / 1.178 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005357/0.7025, allocations: 0.6732 MB / 1.179 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.7026, allocations: 43.11 kB / 1.179 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 1.834e-06/0.7026, allocations: 0 / 1.179 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.001659/0.7042, allocations: 0.99 MB / 1.18 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.7043, allocations: 59.97 kB / 1.18 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006415/0.7049, allocations: 0.6411 MB / 1.181 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.705, allocations: 37.7 kB / 1.181 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.7052, allocations: 432.1 kB / 1.181 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.7054, allocations: 248.3 kB / 1.181 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.7056, allocations: 114.3 kB / 1.181 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.7058, allocations: 394.7 kB / 1.182 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/0.7062, allocations: 277.1 kB / 1.182 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000454/0.7066, allocations: 361.1 kB / 1.182 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009248/0.7076, allocations: 0.6626 MB / 1.183 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7076, allocations: 0 / 1.183 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001129/0.7087, allocations: 0.7969 MB / 1.184 GB, free: 164 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.7087, allocations: 4 kB / 1.184 GB, free: 160 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.7088, allocations: 4 kB / 1.184 GB, free: 156 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.7088, allocations: 8.125 kB / 1.184 GB, free: 148 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005857/0.7094, allocations: 147.8 kB / 1.184 GB, free: 0 / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.032e-05/0.7094, allocations: 4.078 kB / 1.184 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007805/0.7102, allocations: 119.3 kB / 1.184 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.7102, allocations: 31.92 kB / 1.184 GB, free: 15.84 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.00032/0.7106, allocations: 285.5 kB / 1.184 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.7107, allocations: 83.06 kB / 1.184 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.712, allocations: 0.792 MB / 1.185 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.712, allocations: 8 kB / 1.185 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.712, allocations: 3.938 kB / 1.185 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009793/0.713, allocations: 0.8191 MB / 1.186 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.7153, allocations: 1.848 MB / 1.188 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.7153, allocations: 4 kB / 1.188 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007366/0.716, allocations: 167.8 kB / 1.188 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.7161, allocations: 4 kB / 1.188 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.347e-05/0.7161, allocations: 16 kB / 1.188 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.7161, allocations: 4 kB / 1.188 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.7161, allocations: 0 / 1.188 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.7177, allocations: 1.205 MB / 1.189 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/0.718, allocations: 240 kB / 1.189 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.7181, allocations: 15.94 kB / 1.189 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006933/0.7188, allocations: 77.09 kB / 1.19 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.7189, allocations: 40.5 kB / 1.19 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/0.719, allocations: 23.98 kB / 1.19 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004579/0.7195, allocations: 459 kB / 1.19 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7195, allocations: 0 / 1.19 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006712/0.7201, allocations: 339.2 kB / 1.19 GB, free: 9.285 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * 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 Backend phase and start with SimCode phase: time 0.001961/0.7221, allocations: 1.84 MB / 1.192 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009812/0.7231, allocations: 0.6796 MB / 1.193 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7231, allocations: 0 / 1.193 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004885/0.7236, allocations: 367 kB / 1.193 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/0.7256, allocations: 0.5212 MB / 1.194 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008996/0.7346, allocations: 7.553 MB / 1.201 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000576/0.7352, allocations: 1.092 MB / 1.202 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007958/0.736, allocations: 223.4 kB / 1.202 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004512/0.7365, allocations: 359.3 kB / 1.203 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.7365, allocations: 0 / 1.203 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03683/0.7733, allocations: 24.11 MB / 1.226 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/0.7736, allocations: 208.7 kB / 1.226 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/2.921, allocations: 0 / 1.226 GB, free: 4.43 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)