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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0012/0.0012, allocations: 108 kB / 15.61 MB, free: 152 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.001176/0.001176, allocations: 197 kB / 16.53 MB, free: 6.664 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.206/1.206, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.084/2.084, allocations: 390.3 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.475/0.4762, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.1758/0.652, allocations: 202 MB / 1.147 GB, free: 7.137 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008751/0.6608, allocations: 7.385 MB / 1.154 GB, free: 15.73 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004898/0.6613, allocations: 35.81 kB / 1.154 GB, free: 15.7 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.6627, allocations: 0.6953 MB / 1.155 GB, free: 15 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003926/0.6666, allocations: 2.403 MB / 1.157 GB, free: 12.59 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.6688, allocations: 1.226 MB / 1.158 GB, free: 11.36 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002367/0.6712, allocations: 2.914 MB / 1.161 GB, free: 8.438 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00096/0.6722, allocations: 0.9586 MB / 1.162 GB, free: 7.461 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.6732, allocations: 1.008 MB / 1.163 GB, free: 6.449 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.6745, allocations: 0.9747 MB / 1.164 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.6747, allocations: 112 kB / 1.164 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002865/0.6775, allocations: 2.124 MB / 1.166 GB, free: 3.242 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003633/0.6779, allocations: 450.7 kB / 1.167 GB, free: 2.801 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006056/0.6785, allocations: 0.665 MB / 1.167 GB, free: 2.133 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002363/0.6809, allocations: 2.38 MB / 1.17 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.6809, allocations: 4 kB / 1.17 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6809, allocations: 4 kB / 1.17 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.6809, allocations: 0 / 1.17 GB, free: 15.74 MB / 0.9356 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.002632/0.6836, allocations: 1.628 MB / 1.171 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.6836, allocations: 12.03 kB / 1.171 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001452/0.6838, allocations: 131.3 kB / 1.171 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0022/0.686, allocations: 382.2 kB / 1.172 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.687, allocations: 0.8161 MB / 1.173 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.87e-05/0.6871, allocations: 65.98 kB / 1.173 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.6872, allocations: 84 kB / 1.173 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.6886, allocations: 1.042 MB / 1.174 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.6887, allocations: 0 / 1.174 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.112e-05/0.6888, allocations: 39.98 kB / 1.174 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.177e-05/0.6888, allocations: 41.98 kB / 1.174 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.6902, allocations: 0.8899 MB / 1.175 GB, free: 10.48 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.004032/0.6942, allocations: 4.327 MB / 1.179 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.6952, allocations: 0.698 MB / 1.18 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000696/0.6959, allocations: 459 kB / 1.18 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005305/0.6965, allocations: 0.6732 MB / 1.181 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.6965, allocations: 43.12 kB / 1.181 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 1.703e-06/0.6965, allocations: 4 kB / 1.181 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.001647/0.6982, allocations: 0.9861 MB / 1.182 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.6982, allocations: 63.91 kB / 1.182 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006504/0.6989, allocations: 0.6372 MB / 1.182 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.6989, allocations: 41.7 kB / 1.182 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/0.6992, allocations: 428.1 kB / 1.183 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.6994, allocations: 248.3 kB / 1.183 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.6996, allocations: 118.3 kB / 1.183 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.6997, allocations: 394.7 kB / 1.184 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004457/0.7002, allocations: 281.2 kB / 1.184 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004427/0.7006, allocations: 349.1 kB / 1.184 GB, free: 184 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009377/0.7016, allocations: 0.6665 MB / 1.185 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7016, allocations: 0 / 1.185 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001133/0.7027, allocations: 0.7969 MB / 1.186 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.7027, allocations: 4 kB / 1.186 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.7027, allocations: 0 / 1.186 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.7028, allocations: 8 kB / 1.186 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000573/0.7033, allocations: 139.8 kB / 1.186 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.006e-06/0.7034, allocations: 4 kB / 1.186 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006517/0.704, allocations: 59.36 kB / 1.186 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.105e-05/0.7041, allocations: 24.19 kB / 1.186 GB, free: 14.45 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.0003134/0.7044, allocations: 297.5 kB / 1.186 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.7045, allocations: 83.06 kB / 1.186 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.7058, allocations: 0.7998 MB / 1.187 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.7058, allocations: 4 kB / 1.187 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.7058, allocations: 3.938 kB / 1.187 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009838/0.7068, allocations: 0.8152 MB / 1.188 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.7091, allocations: 1.848 MB / 1.19 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.7091, allocations: 0 / 1.19 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007488/0.7099, allocations: 179.7 kB / 1.19 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.7099, allocations: 0 / 1.19 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.754e-05/0.7099, allocations: 23.92 kB / 1.19 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.7099, allocations: 0 / 1.19 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.71, allocations: 0 / 1.19 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.7115, allocations: 1.193 MB / 1.191 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002901/0.7118, allocations: 247.9 kB / 1.191 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.7119, allocations: 23.98 kB / 1.191 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005801/0.7125, allocations: 19.98 kB / 1.191 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-05/0.7126, allocations: 48.48 kB / 1.191 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.7127, allocations: 24 kB / 1.191 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004907/0.7132, allocations: 455 kB / 1.192 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.7132, allocations: 0 / 1.192 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006595/0.7138, allocations: 335.2 kB / 1.192 GB, free: 7.93 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.002019/0.7159, allocations: 1.832 MB / 1.194 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.7172, allocations: 0.8242 MB / 1.195 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7172, allocations: 0 / 1.195 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000479/0.7177, allocations: 363 kB / 1.195 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/0.7199, allocations: 0.5497 MB / 1.196 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008363/0.7282, allocations: 7.183 MB / 1.203 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005686/0.7288, allocations: 1.089 MB / 1.204 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007651/0.7296, allocations: 223.2 kB / 1.204 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004421/0.73, allocations: 359.3 kB / 1.204 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.73, allocations: 0 / 1.204 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04379/0.7738, allocations: 25.09 MB / 1.229 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.512/8.286, allocations: 17.94 kB / 1.229 GB, free: 2.543 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)