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.000817/0.0008171, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.004546/0.004546, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.126/1.126, allocations: 205.4 MB / 222.4 MB, free: 5.551 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 1.479/1.479, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004428/0.0004429, allocations: 13.88 kB / 0.6744 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1688, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.4985/0.6673, allocations: 197 MB / 0.9804 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008403/0.6758, allocations: 7.339 MB / 0.9876 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008641/0.6767, allocations: 28.72 kB / 0.9876 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.678, allocations: 0.6084 MB / 0.9882 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004411/0.6825, allocations: 2.217 MB / 0.9904 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.6849, allocations: 1.152 MB / 0.9915 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003389/0.6883, allocations: 4.135 MB / 0.9955 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008224/0.6891, allocations: 0.7723 MB / 0.9963 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009383/0.6901, allocations: 0.8552 MB / 0.9971 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/0.6915, allocations: 0.9728 MB / 0.9981 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.91e-05/0.6916, allocations: 49 kB / 0.9981 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003364/0.6949, allocations: 2.478 MB / 1.001 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003104/0.6953, allocations: 386.3 kB / 1.001 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004822/0.6957, allocations: 0.6125 MB / 1.002 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.698, allocations: 2.461 MB / 1.004 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.698, allocations: 0 / 1.004 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.142e-06/0.698, allocations: 0 / 1.004 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.698, allocations: 2.938 kB / 1.004 GB, free: 4.883 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.002638/0.7006, allocations: 1.401 MB / 1.005 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.7007, allocations: 8.25 kB / 1.005 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/0.7008, allocations: 139.1 kB / 1.005 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/0.703, allocations: 378.3 kB / 1.006 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009563/0.7039, allocations: 0.8021 MB / 1.007 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.249e-05/0.704, allocations: 75.97 kB / 1.007 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.7041, allocations: 79.44 kB / 1.007 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.7055, allocations: 1.042 MB / 1.008 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.7055, allocations: 0 / 1.008 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.8e-05/0.7056, allocations: 41.66 kB / 1.008 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.432e-05/0.7057, allocations: 45.83 kB / 1.008 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.7069, allocations: 0.8774 MB / 1.009 GB, free: 1.754 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.00373/0.7107, allocations: 4.281 MB / 1.013 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008999/0.7116, allocations: 0.7048 MB / 1.014 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006316/0.7122, allocations: 451.4 kB / 1.014 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005081/0.7127, allocations: 0.6755 MB / 1.015 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.7128, allocations: 40.22 kB / 1.015 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 1.552e-06/0.7128, allocations: 3.938 kB / 1.015 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.001512/0.7143, allocations: 0.9951 MB / 1.016 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.7143, allocations: 57.06 kB / 1.016 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005869/0.7149, allocations: 0.6354 MB / 1.016 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.476e-05/0.715, allocations: 40.23 kB / 1.016 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.7152, allocations: 423.5 kB / 1.017 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.7154, allocations: 247.4 kB / 1.017 GB, free: 11 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.477e-05/0.7155, allocations: 63.39 kB / 1.017 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.7156, allocations: 395.3 kB / 1.017 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/0.716, allocations: 274.6 kB / 1.018 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004353/0.7165, allocations: 372.6 kB / 1.018 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008646/0.7173, allocations: 0.6632 MB / 1.019 GB, free: 9.824 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.7174, allocations: 4 kB / 1.019 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001076/0.7184, allocations: 0.7891 MB / 1.019 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.7185, allocations: 5.312 kB / 1.019 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.7185, allocations: 2.625 kB / 1.019 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.7185, allocations: 6.188 kB / 1.019 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005585/0.7191, allocations: 144.8 kB / 1.02 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.7191, allocations: 6.828 kB / 1.02 GB, free: 9.383 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007924/0.7199, allocations: 108.6 kB / 1.02 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.7199, allocations: 24.44 kB / 1.02 GB, free: 9.316 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.000301/0.7202, allocations: 285.9 kB / 1.02 GB, free: 9.094 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.7203, allocations: 91.31 kB / 1.02 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.7215, allocations: 0.7948 MB / 1.021 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.7215, allocations: 9.875 kB / 1.021 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.7216, allocations: 6.5 kB / 1.021 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009207/0.7225, allocations: 0.8114 MB / 1.022 GB, free: 8.039 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/0.7246, allocations: 1.842 MB / 1.023 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.7247, allocations: 0 / 1.023 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007019/0.7254, allocations: 175.7 kB / 1.024 GB, free: 6.777 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.7254, allocations: 2.531 kB / 1.024 GB, free: 6.777 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/0.7254, allocations: 21.05 kB / 1.024 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.7254, allocations: 2.844 kB / 1.024 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.7254, allocations: 0 / 1.024 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.727, allocations: 1.28 MB / 1.025 GB, free: 6.035 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002821/0.7273, allocations: 245.1 kB / 1.025 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.176e-05/0.7274, allocations: 17.25 kB / 1.025 GB, free: 5.812 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006686/0.728, allocations: 79.17 kB / 1.025 GB, free: 5.77 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.06e-05/0.7281, allocations: 48.5 kB / 1.025 GB, free: 5.742 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.7282, allocations: 24.64 kB / 1.025 GB, free: 5.734 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004189/0.7286, allocations: 452.2 kB / 1.026 GB, free: 5.473 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7286, allocations: 0 / 1.026 GB, free: 5.473 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006303/0.7292, allocations: 336.1 kB / 1.026 GB, free: 5.406 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.001893/0.7311, allocations: 1.927 MB / 1.028 GB, free: 4.109 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008909/0.732, allocations: 0.681 MB / 1.029 GB, free: 3.801 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7321, allocations: 0 / 1.029 GB, free: 3.801 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004402/0.7325, allocations: 374.5 kB / 1.029 GB, free: 3.633 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/0.7347, allocations: 0.5094 MB / 1.029 GB, free: 3.383 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008494/0.7432, allocations: 7.633 MB / 1.037 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000555/0.7438, allocations: 1.085 MB / 1.038 GB, free: 12.1 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007513/0.7445, allocations: 223.4 kB / 1.038 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004283/0.745, allocations: 351.3 kB / 1.039 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of SimCode: time 2.7e-07/0.745, allocations: 0 / 1.039 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03591/0.7809, allocations: 23.89 MB / 1.062 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.7811, allocations: 209.2 kB / 1.062 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/2.809, allocations: 3.938 kB / 1.062 GB, free: 3.742 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)