Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.445/1.445, allocations: 249.5 MB / 257 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009754/0.0009754, allocations: 176.8 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008831/0.0008831, allocations: 93.98 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.835e-05/1.829e-05, allocations: 0 / 0.7815 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1901, allocations: 106.3 MB / 0.8853 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.508/5.698, allocations: 2.192 GB / 3.078 GB, free: 215.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/5.698, allocations: 85.45 kB / 3.078 GB, free: 215.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.466/8.164, allocations: 0.6312 GB / 3.709 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.523e-06/8.164, allocations: 0 / 3.709 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001578/8.164, allocations: 30.62 kB / 3.709 GB, free: 172.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.004591/8.169, allocations: 1.402 MB / 3.71 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/8.169, allocations: 10.5 kB / 3.71 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002874/8.172, allocations: 367.1 kB / 3.711 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/8.174, allocations: 0.8358 MB / 3.712 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/8.174, allocations: 31.12 kB / 3.712 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002646/8.174, allocations: 50.06 kB / 3.712 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001665/8.176, allocations: 0.7434 MB / 3.712 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/8.177, allocations: 0.8922 MB / 3.713 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.919e-05/8.177, allocations: 13.59 kB / 3.713 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/8.178, allocations: 6.922 kB / 3.713 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-05/8.178, allocations: 38.89 kB / 3.713 GB, free: 171.8 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.005174/8.183, allocations: 4.353 MB / 3.718 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008442/8.184, allocations: 0.5927 MB / 3.718 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005935/8.184, allocations: 422.1 kB / 3.719 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005348/8.185, allocations: 0.6795 MB / 3.719 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/8.185, allocations: 45.09 kB / 3.719 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 3.246e-06/8.185, allocations: 0 / 3.719 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.001573/8.186, allocations: 0.7148 MB / 3.72 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/8.187, allocations: 55.72 kB / 3.72 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007044/8.187, allocations: 493 kB / 3.72 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-05/8.187, allocations: 25.7 kB / 3.721 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/8.188, allocations: 438.5 kB / 3.721 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/8.188, allocations: 236.8 kB / 3.721 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/8.188, allocations: 0 / 3.721 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001162/8.188, allocations: 393.5 kB / 3.722 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/8.188, allocations: 259.3 kB / 3.722 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/8.189, allocations: 365 kB / 3.722 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005935/8.189, allocations: 332.7 kB / 3.722 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/8.189, allocations: 0 / 3.722 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001253/8.191, allocations: 0.762 MB / 3.723 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/8.191, allocations: 2.719 kB / 3.723 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/8.191, allocations: 3.062 kB / 3.723 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-05/8.191, allocations: 6.688 kB / 3.723 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000671/8.191, allocations: 155.4 kB / 3.723 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-05/8.191, allocations: 10.73 kB / 3.723 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/8.193, allocations: 82.88 kB / 3.723 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/8.193, allocations: 18.53 kB / 3.723 GB, free: 167.3 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001778/8.193, allocations: 122.1 kB / 3.724 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001274/8.194, allocations: 0.7032 MB / 3.724 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/8.194, allocations: 79.75 kB / 3.724 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/8.196, allocations: 0.7633 MB / 3.725 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/8.196, allocations: 9.594 kB / 3.725 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/8.196, allocations: 3.094 kB / 3.725 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009974/8.197, allocations: 0.7967 MB / 3.726 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003042/8.2, allocations: 1.749 MB / 3.728 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/8.2, allocations: 0 / 3.728 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008294/8.201, allocations: 175.7 kB / 3.728 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/8.201, allocations: 3.281 kB / 3.728 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.543e-05/8.201, allocations: 14.73 kB / 3.728 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/8.201, allocations: 3.375 kB / 3.728 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/8.201, allocations: 3.938 kB / 3.728 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/8.203, allocations: 1.254 MB / 3.729 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005549/8.203, allocations: 253.1 kB / 3.729 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/8.203, allocations: 10.81 kB / 3.729 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009817/8.204, allocations: 63.55 kB / 3.729 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.653e-05/8.204, allocations: 41.61 kB / 3.729 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/8.204, allocations: 27.47 kB / 3.729 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005245/8.205, allocations: 386.1 kB / 3.73 GB, free: 166 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.4e-07/8.205, allocations: 2.094 kB / 3.73 GB, free: 166 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001439/8.206, allocations: 431.9 kB / 3.73 GB, free: 165.9 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00411/8.211, allocations: 3.464 MB / 3.734 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001014/8.212, allocations: 0.6515 MB / 3.734 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/8.212, allocations: 0 / 3.734 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004127/8.212, allocations: 357.1 kB / 3.735 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/8.215, allocations: 483.6 kB / 3.735 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004251/8.219, allocations: 1.98 MB / 3.737 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/8.219, allocations: 1.116 MB / 3.738 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001145/8.221, allocations: 225.3 kB / 3.738 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005088/8.221, allocations: 366.6 kB / 3.739 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.343e-06/8.221, allocations: 3.938 kB / 3.739 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06457/8.286, allocations: 35.2 MB / 3.773 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/8.286, allocations: 160.1 kB / 3.773 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.997/11.28, allocations: 0 / 3.773 GB, free: 159.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)