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.335/1.335, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 171.9 kB / 326.5 MB, free: 2.262 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.614/1.614, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008051/0.0008051, allocations: 90.31 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003484, allocations: 8.656 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2016, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.661/0.8628, allocations: 167.2 MB / 1.063 GB, free: 3.656 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01116/0.8739, allocations: 7.337 MB / 1.071 GB, free: 3.59 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.8754, allocations: 25.44 kB / 1.071 GB, free: 3.59 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.8773, allocations: 0.6417 MB / 1.071 GB, free: 3.59 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006377/0.8837, allocations: 2.046 MB / 1.073 GB, free: 3.562 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003491/0.8872, allocations: 1.026 MB / 1.074 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003787/0.891, allocations: 1.723 MB / 1.076 GB, free: 3.535 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/0.8929, allocations: 0.7068 MB / 1.077 GB, free: 3.445 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003083/0.896, allocations: 0.833 MB / 1.077 GB, free: 3.445 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002311/0.8983, allocations: 0.6114 MB / 1.078 GB, free: 3.441 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002935/0.8987, allocations: 54.34 kB / 1.078 GB, free: 3.441 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00517/0.9038, allocations: 0.8893 MB / 1.079 GB, free: 3.441 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008306/0.9047, allocations: 361.8 kB / 1.079 GB, free: 3.441 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.9058, allocations: 271 kB / 1.08 GB, free: 19.41 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003273/0.9091, allocations: 1.514 MB / 1.081 GB, free: 19.29 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.9091, allocations: 1.062 kB / 1.081 GB, free: 19.29 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9091, allocations: 0 / 1.081 GB, free: 19.29 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.798e-05/0.9092, allocations: 0 / 1.081 GB, free: 19.29 MB / 0.7136 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.005243/0.9144, allocations: 1.399 MB / 1.082 GB, free: 18.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.9145, allocations: 8.312 kB / 1.082 GB, free: 18.5 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003089/0.9148, allocations: 139.3 kB / 1.083 GB, free: 18.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004589/0.9194, allocations: 379.6 kB / 1.083 GB, free: 18.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002627/0.9221, allocations: 0.7788 MB / 1.084 GB, free: 18.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.9222, allocations: 72.11 kB / 1.084 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002359/0.9225, allocations: 89.09 kB / 1.084 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003052/0.9256, allocations: 1.041 MB / 1.085 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.229e-05/0.9256, allocations: 8.891 kB / 1.085 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.9258, allocations: 34.94 kB / 1.085 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.569e-05/0.9259, allocations: 47.59 kB / 1.085 GB, free: 17.95 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002754/0.9287, allocations: 0.8806 MB / 1.086 GB, free: 17.95 MB / 0.7136 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.008914/0.9376, allocations: 4.303 MB / 1.09 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.9395, allocations: 0.6908 MB / 1.091 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/0.9406, allocations: 0.68 MB / 1.091 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.605e-05/0.9407, allocations: 39.38 kB / 1.091 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 4.548e-06/0.9407, allocations: 1.25 kB / 1.091 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.003158/0.9439, allocations: 0.9883 MB / 1.092 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.9439, allocations: 62.06 kB / 1.092 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.9452, allocations: 0.63 MB / 1.093 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.9454, allocations: 41.2 kB / 1.093 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004335/0.9458, allocations: 434.7 kB / 1.093 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000345/0.9462, allocations: 252.1 kB / 1.094 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.9462, allocations: 12.56 kB / 1.094 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002547/0.9465, allocations: 389.4 kB / 1.094 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007675/0.9473, allocations: 273.6 kB / 1.094 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008043/0.9481, allocations: 360.1 kB / 1.095 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008585/0.949, allocations: 321 kB / 1.095 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.949, allocations: 0 / 1.095 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00208/0.9511, allocations: 0.7836 MB / 1.096 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.9511, allocations: 9.125 kB / 1.096 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.9512, allocations: 3.281 kB / 1.096 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.9512, allocations: 5.688 kB / 1.096 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.9524, allocations: 140.5 kB / 1.096 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.9524, allocations: 8.969 kB / 1.096 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.9543, allocations: 109.3 kB / 1.096 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.159e-05/0.9544, allocations: 20.75 kB / 1.096 GB, free: 13.42 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008272/0.9553, allocations: 294.4 kB / 1.096 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/0.9555, allocations: 82.06 kB / 1.096 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/0.9578, allocations: 0.7907 MB / 1.097 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.9578, allocations: 6.25 kB / 1.097 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.9578, allocations: 0 / 1.097 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001863/0.9597, allocations: 0.8052 MB / 1.098 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/0.9622, allocations: 0.9787 MB / 1.099 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.9622, allocations: 4 kB / 1.099 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/0.9638, allocations: 165.6 kB / 1.099 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/0.9638, allocations: 3.219 kB / 1.099 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.662e-05/0.9639, allocations: 17.91 kB / 1.099 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.788e-06/0.964, allocations: 2.719 kB / 1.099 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.964, allocations: 2.906 kB / 1.099 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003122/0.9671, allocations: 1.269 MB / 1.1 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008924/0.968, allocations: 246.4 kB / 1.101 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.9682, allocations: 17.5 kB / 1.101 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/0.9697, allocations: 92.3 kB / 1.101 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.9699, allocations: 41.86 kB / 1.101 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.103e-05/0.97, allocations: 25.28 kB / 1.101 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001003/0.971, allocations: 454 kB / 1.101 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9711, allocations: 2.469 kB / 1.101 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001583/0.9727, allocations: 338.6 kB / 1.102 GB, free: 12.21 MB / 0.7136 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 (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.003719/0.9764, allocations: 1.9 MB / 1.103 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00191/0.9783, allocations: 0.6675 MB / 1.104 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.9784, allocations: 1.75 kB / 1.104 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008621/0.9792, allocations: 368.5 kB / 1.104 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00442/0.9837, allocations: 0.5128 MB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01545/0.9991, allocations: 6.613 MB / 1.111 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/1, allocations: 1.111 MB / 1.112 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002099/1.002, allocations: 227.8 kB / 1.113 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007838/1.003, allocations: 359.7 kB / 1.113 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of SimCode: time 1.103e-06/1.003, allocations: 0 / 1.113 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07702/1.08, allocations: 25.26 MB / 1.138 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002806/1.081, allocations: 189.1 kB / 1.138 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.54/3.621, allocations: 0 / 1.138 GB, free: 12.93 MB / 0.7292 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)