Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_10_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.001251/0.001251, 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.001195/0.001195, allocations: 196.6 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.207/1.207, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.296/2.296, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 71.89 kB / 0.8693 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4901/0.4913, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.1778/0.6691, allocations: 202 MB / 1.215 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009027/0.6781, allocations: 7.385 MB / 1.222 GB, free: 376 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000973/0.6791, allocations: 39.75 kB / 1.222 GB, free: 336 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.6807, allocations: 0.7031 MB / 1.223 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004561/0.6852, allocations: 2.393 MB / 1.225 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.6877, allocations: 1.235 MB / 1.226 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002841/0.6905, allocations: 2.907 MB / 1.229 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.6917, allocations: 0.9547 MB / 1.23 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.693, allocations: 1.012 MB / 1.231 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.6947, allocations: 0.9666 MB / 1.232 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002033/0.6949, allocations: 112 kB / 1.232 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003236/0.6982, allocations: 2.124 MB / 1.234 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004229/0.6986, allocations: 454.8 kB / 1.234 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007267/0.6993, allocations: 0.6611 MB / 1.235 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002789/0.7021, allocations: 2.384 MB / 1.237 GB, free: 384 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.7021, allocations: 4 kB / 1.237 GB, free: 380 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.464e-06/0.7021, allocations: 0 / 1.237 GB, free: 380 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.7022, allocations: 3.938 kB / 1.237 GB, free: 376 kB / 0.9825 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.002753/0.7049, allocations: 1.62 MB / 1.239 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.705, allocations: 12.03 kB / 1.239 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001495/0.7051, allocations: 139.2 kB / 1.239 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002233/0.7074, allocations: 374.2 kB / 1.24 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.7084, allocations: 0.82 MB / 1.24 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.7085, allocations: 66 kB / 1.24 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.7086, allocations: 84 kB / 1.24 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.7101, allocations: 1.046 MB / 1.241 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.7101, allocations: 3.938 kB / 1.241 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.8e-05/0.7102, allocations: 35.98 kB / 1.242 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.037e-05/0.7102, allocations: 45.98 kB / 1.242 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.7116, allocations: 0.8822 MB / 1.242 GB, free: 11.11 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.004156/0.7158, allocations: 4.319 MB / 1.247 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.7169, allocations: 0.6983 MB / 1.247 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006983/0.7176, allocations: 461.1 kB / 1.248 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005397/0.7181, allocations: 0.6693 MB / 1.248 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.7182, allocations: 51 kB / 1.248 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 1.643e-06/0.7182, allocations: 0 / 1.248 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.001696/0.7199, allocations: 0.9939 MB / 1.249 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.7199, allocations: 59.97 kB / 1.249 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006586/0.7206, allocations: 0.6334 MB / 1.25 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.7206, allocations: 37.7 kB / 1.25 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.7209, allocations: 432.1 kB / 1.251 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.7211, allocations: 252.3 kB / 1.251 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.7212, allocations: 118.2 kB / 1.251 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.7214, allocations: 394.7 kB / 1.251 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004282/0.7218, allocations: 277.2 kB / 1.252 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004684/0.7223, allocations: 361 kB / 1.252 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009194/0.7232, allocations: 0.6587 MB / 1.253 GB, free: 128 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.7233, allocations: 0 / 1.253 GB, free: 128 kB / 0.9981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.4059/1.129, allocations: 0.7881 MB / 1.253 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/1.129, allocations: 6.312 kB / 1.253 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.129, allocations: 3.344 kB / 1.253 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/1.129, allocations: 5.188 kB / 1.253 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006348/1.13, allocations: 147.8 kB / 1.253 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/1.13, allocations: 5.312 kB / 1.253 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000679/1.131, allocations: 54.67 kB / 1.254 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/1.131, allocations: 24.58 kB / 1.254 GB, free: 234.5 MB / 0.9981 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.0003746/1.131, allocations: 287.7 kB / 1.254 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/1.131, allocations: 84.91 kB / 1.254 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/1.133, allocations: 0.7945 MB / 1.255 GB, free: 234.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/1.133, allocations: 6.469 kB / 1.255 GB, free: 234.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.133, allocations: 2.5 kB / 1.255 GB, free: 234.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001006/1.134, allocations: 0.8155 MB / 1.255 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002452/1.136, allocations: 1.857 MB / 1.257 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.136, allocations: 0.6875 kB / 1.257 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007959/1.137, allocations: 164.9 kB / 1.257 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/1.137, allocations: 10.78 kB / 1.257 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/1.137, allocations: 19.22 kB / 1.257 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/1.137, allocations: 2.281 kB / 1.257 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.137, allocations: 1.531 kB / 1.257 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/1.139, allocations: 1.195 MB / 1.259 GB, free: 232.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002896/1.139, allocations: 252.5 kB / 1.259 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/1.139, allocations: 13.52 kB / 1.259 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005944/1.14, allocations: 21.02 kB / 1.259 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.14, allocations: 43.89 kB / 1.259 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.694e-05/1.14, allocations: 22.38 kB / 1.259 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004963/1.14, allocations: 460.1 kB / 1.259 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.14, allocations: 0.6562 kB / 1.259 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007748/1.141, allocations: 331.8 kB / 1.26 GB, free: 231.9 MB / 0.9981 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.00197/1.143, allocations: 1.834 MB / 1.262 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00153/1.145, allocations: 0.8154 MB / 1.262 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.145, allocations: 4.969 kB / 1.262 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006151/1.145, allocations: 368.6 kB / 1.263 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/1.148, allocations: 0.5539 MB / 1.263 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008717/1.156, allocations: 7.186 MB / 1.27 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/1.157, allocations: 1.085 MB / 1.271 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009574/1.158, allocations: 232.2 kB / 1.272 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003987/1.158, allocations: 358.9 kB / 1.272 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/1.158, allocations: 0 / 1.272 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.345/4.503, allocations: 25.1 MB / 1.296 GB, free: 208.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/17.92, allocations: 8.125 kB / 1.296 GB, free: 208.7 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)