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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001414/0.001414, 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.001855/0.001855, 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.609/1.609, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.948/2.948, allocations: 437 MB / 0.71 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.91 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9694/0.9708, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2486/1.219, allocations: 199.8 MB / 1.212 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01221/1.232, allocations: 7.482 MB / 1.219 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003274/1.235, allocations: 35.81 kB / 1.219 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003155/1.238, allocations: 0.6104 MB / 1.22 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008866/1.247, allocations: 2.252 MB / 1.222 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003895/1.251, allocations: 1.126 MB / 1.223 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006356/1.257, allocations: 4.162 MB / 1.227 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002016/1.26, allocations: 0.8091 MB / 1.228 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00274/1.262, allocations: 0.8792 MB / 1.229 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00359/1.266, allocations: 1 MB / 1.23 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004603/1.266, allocations: 63.94 kB / 1.23 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006863/1.273, allocations: 2.482 MB / 1.232 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0009258/1.274, allocations: 406.8 kB / 1.233 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001801/1.276, allocations: 0.6103 MB / 1.233 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00643/1.282, allocations: 2.493 MB / 1.236 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/1.282, allocations: 0 / 1.236 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.222e-06/1.282, allocations: 0 / 1.236 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.888e-05/1.283, allocations: 0 / 1.236 GB, free: 1.812 MB / 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.00679/1.289, allocations: 1.624 MB / 1.237 GB, free: 140 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 7.917e-05/1.289, allocations: 8.031 kB / 1.237 GB, free: 132 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002702/1.29, allocations: 143.3 kB / 1.237 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002855/1.293, allocations: 382 kB / 1.238 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/1.294, allocations: 0.8122 MB / 1.239 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.05e-05/1.294, allocations: 62 kB / 1.239 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/1.295, allocations: 87.98 kB / 1.239 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/1.296, allocations: 1.038 MB / 1.24 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/1.297, allocations: 3.938 kB / 1.24 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.102e-05/1.297, allocations: 39.98 kB / 1.24 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.33e-05/1.297, allocations: 49.98 kB / 1.24 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/1.298, allocations: 0.8822 MB / 1.241 GB, free: 12.56 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.005416/1.304, allocations: 4.292 MB / 1.245 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/1.305, allocations: 0.6935 MB / 1.245 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007326/1.306, allocations: 457 kB / 1.246 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006707/1.306, allocations: 0.6732 MB / 1.247 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/1.306, allocations: 43.11 kB / 1.247 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 3.807e-06/1.306, allocations: 4 kB / 1.247 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.00195/1.308, allocations: 0.9938 MB / 1.248 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/1.308, allocations: 63.95 kB / 1.248 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/1.309, allocations: 0.6295 MB / 1.248 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.305e-05/1.309, allocations: 37.7 kB / 1.248 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/1.31, allocations: 432.1 kB / 1.249 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/1.31, allocations: 244.3 kB / 1.249 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/1.31, allocations: 122.2 kB / 1.249 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001765/1.31, allocations: 398.6 kB / 1.249 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004468/1.311, allocations: 277.2 kB / 1.25 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000509/1.311, allocations: 357.1 kB / 1.25 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009907/1.312, allocations: 0.6586 MB / 1.251 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/1.312, allocations: 0 / 1.251 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001266/1.313, allocations: 0.7971 MB / 1.251 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/1.313, allocations: 4 kB / 1.251 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.313, allocations: 0 / 1.251 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/1.313, allocations: 11.94 kB / 1.251 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006942/1.314, allocations: 147.7 kB / 1.252 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/1.314, allocations: 4 kB / 1.252 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/1.315, allocations: 115.3 kB / 1.252 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.244e-05/1.315, allocations: 24 kB / 1.252 GB, free: 0.5078 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.0006493/1.316, allocations: 286.1 kB / 1.252 GB, free: 224 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/1.316, allocations: 86.97 kB / 1.252 GB, free: 136 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8457/2.162, allocations: 0.7925 MB / 1.253 GB, free: 235.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/2.162, allocations: 7.031 kB / 1.253 GB, free: 235.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/2.162, allocations: 4.531 kB / 1.253 GB, free: 235.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001406/2.164, allocations: 0.8174 MB / 1.254 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004803/2.168, allocations: 1.847 MB / 1.256 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/2.168, allocations: 0.7031 kB / 1.256 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/2.169, allocations: 169.4 kB / 1.256 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/2.169, allocations: 7.453 kB / 1.256 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.569e-05/2.17, allocations: 19.27 kB / 1.256 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.451e-05/2.17, allocations: 2.875 kB / 1.256 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/2.17, allocations: 3.75 kB / 1.256 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/2.172, allocations: 1.193 MB / 1.257 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000628/2.173, allocations: 245.5 kB / 1.257 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/2.173, allocations: 18.39 kB / 1.257 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008262/2.174, allocations: 81.27 kB / 1.257 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/2.174, allocations: 43.41 kB / 1.257 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.821e-05/2.174, allocations: 21.92 kB / 1.257 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000906/2.175, allocations: 456.3 kB / 1.258 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.202e-06/2.175, allocations: 0 / 1.258 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001626/2.177, allocations: 337.9 kB / 1.258 GB, free: 232.8 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.002974/2.18, allocations: 1.832 MB / 1.26 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001706/2.181, allocations: 0.6776 MB / 1.26 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/2.181, allocations: 0.5 kB / 1.26 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008202/2.182, allocations: 371.5 kB / 1.261 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003064/2.185, allocations: 0.5121 MB / 1.261 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/2.201, allocations: 7.559 MB / 1.269 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009985/2.202, allocations: 1.09 MB / 1.27 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001538/2.203, allocations: 227.8 kB / 1.27 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005792/2.204, allocations: 358 kB / 1.27 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.462e-06/2.204, allocations: 0 / 1.27 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05477/2.259, allocations: 24.12 MB / 1.294 GB, free: 211.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/2.259, allocations: 216.2 kB / 1.294 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.55/4.809, allocations: 0 / 1.294 GB, free: 210.8 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)