Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_8_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.001743/0.001743, 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.001752/0.001752, allocations: 194.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.082/1.082, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 11.78/11.78, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 71.33 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.254, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.7834/1.037, allocations: 201.9 MB / 0.9807 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01472/1.052, allocations: 7.317 MB / 0.9878 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002749/1.055, allocations: 34.47 kB / 0.9878 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002477/1.058, allocations: 0.6935 MB / 0.9885 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008595/1.066, allocations: 2.357 MB / 0.9908 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004567/1.071, allocations: 1.271 MB / 0.9921 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005112/1.076, allocations: 2.877 MB / 0.9949 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/1.078, allocations: 0.9484 MB / 0.9958 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002371/1.08, allocations: 1.008 MB / 0.9968 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002313/1.082, allocations: 0.9673 MB / 0.9977 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002072/1.083, allocations: 110.1 kB / 0.9978 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005569/1.088, allocations: 2.136 MB / 0.9999 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006449/1.089, allocations: 446.8 kB / 1 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001156/1.09, allocations: 0.6667 MB / 1.001 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005247/1.095, allocations: 2.388 MB / 1.003 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.095, allocations: 0 / 1.003 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.023e-06/1.095, allocations: 0 / 1.003 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.7e-05/1.095, allocations: 0 / 1.003 GB, free: 4.379 MB / 0.7325 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.003599/1.099, allocations: 1.612 MB / 1.005 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/1.099, allocations: 9.875 kB / 1.005 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000171/1.099, allocations: 137.3 kB / 1.005 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/1.102, allocations: 373.6 kB / 1.005 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/1.103, allocations: 0.8065 MB / 1.006 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/1.103, allocations: 65.61 kB / 1.006 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/1.103, allocations: 89.69 kB / 1.006 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/1.105, allocations: 1.035 MB / 1.007 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/1.105, allocations: 8.375 kB / 1.007 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.562e-05/1.105, allocations: 42.75 kB / 1.007 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.709e-05/1.105, allocations: 47.83 kB / 1.007 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/1.106, allocations: 0.8734 MB / 1.008 GB, free: 1.105 MB / 0.7325 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.004871/1.111, allocations: 4.312 MB / 1.013 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/1.112, allocations: 0.7107 MB / 1.013 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007199/1.113, allocations: 456 kB / 1.014 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006504/1.114, allocations: 0.6766 MB / 1.014 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/1.114, allocations: 43.88 kB / 1.014 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 2.144e-06/1.114, allocations: 0 / 1.014 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.001908/1.116, allocations: 0.9806 MB / 1.015 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/1.116, allocations: 59.53 kB / 1.015 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007326/1.116, allocations: 0.6418 MB / 1.016 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.594e-05/1.117, allocations: 35.8 kB / 1.016 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/1.117, allocations: 428.7 kB / 1.016 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/1.117, allocations: 248.5 kB / 1.017 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/1.117, allocations: 112.5 kB / 1.017 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001779/1.117, allocations: 395 kB / 1.017 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004528/1.118, allocations: 274.8 kB / 1.017 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000489/1.118, allocations: 366.8 kB / 1.018 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000948/1.119, allocations: 0.6596 MB / 1.018 GB, free: 9.141 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/1.119, allocations: 0 / 1.018 GB, free: 9.141 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001218/1.121, allocations: 0.7887 MB / 1.019 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.121, allocations: 10.19 kB / 1.019 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/1.121, allocations: 2.375 kB / 1.019 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/1.121, allocations: 9.5 kB / 1.019 GB, free: 8.73 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006093/1.121, allocations: 140.4 kB / 1.019 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/1.121, allocations: 9.359 kB / 1.019 GB, free: 8.699 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007945/1.122, allocations: 52.12 kB / 1.019 GB, free: 8.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/1.122, allocations: 26.59 kB / 1.019 GB, free: 8.652 MB / 0.7481 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.0003937/1.123, allocations: 287.7 kB / 1.02 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/1.123, allocations: 86.03 kB / 1.02 GB, free: 8.387 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/1.124, allocations: 0.7918 MB / 1.021 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/1.124, allocations: 7.344 kB / 1.021 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/1.124, allocations: 3.938 kB / 1.021 GB, free: 7.918 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009875/1.125, allocations: 0.8172 MB / 1.021 GB, free: 7.371 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/1.127, allocations: 1.843 MB / 1.023 GB, free: 6.137 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/1.128, allocations: 2.719 kB / 1.023 GB, free: 6.137 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007863/1.128, allocations: 168.9 kB / 1.023 GB, free: 6.102 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/1.128, allocations: 1.812 kB / 1.023 GB, free: 6.102 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.012e-05/1.128, allocations: 21.8 kB / 1.023 GB, free: 6.086 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/1.128, allocations: 7.375 kB / 1.023 GB, free: 6.082 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.128, allocations: 3.938 kB / 1.023 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/1.13, allocations: 1.273 MB / 1.025 GB, free: 5.363 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003768/1.131, allocations: 242.1 kB / 1.025 GB, free: 5.156 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/1.131, allocations: 14.19 kB / 1.025 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005875/1.131, allocations: 20.64 kB / 1.025 GB, free: 5.133 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/1.131, allocations: 44.91 kB / 1.025 GB, free: 5.109 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.691e-05/1.131, allocations: 29.02 kB / 1.025 GB, free: 5.098 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00051/1.132, allocations: 452.3 kB / 1.025 GB, free: 4.84 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/1.132, allocations: 0 / 1.025 GB, free: 4.84 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008774/1.133, allocations: 333.9 kB / 1.026 GB, free: 4.777 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * 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.002158/1.135, allocations: 1.909 MB / 1.028 GB, free: 3.484 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001473/1.136, allocations: 0.821 MB / 1.028 GB, free: 3.145 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.136, allocations: 2.156 kB / 1.028 GB, free: 3.145 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000504/1.137, allocations: 368.2 kB / 1.029 GB, free: 2.98 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/1.139, allocations: 0.5446 MB / 1.029 GB, free: 2.691 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009836/1.149, allocations: 7.104 MB / 1.036 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/1.15, allocations: 1.085 MB / 1.037 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001028/1.151, allocations: 227.1 kB / 1.037 GB, free: 10.37 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004732/1.151, allocations: 355.3 kB / 1.038 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of SimCode: time 8.12e-07/1.151, allocations: 0 / 1.038 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04883/1.2, allocations: 25.07 MB / 1.062 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.224/8.424, allocations: 11.03 kB / 1.062 GB, free: 1.293 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)