Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.585/2.585, allocations: 287.3 MB / 302.3 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001581/0.00158, allocations: 177.1 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.121/2.121, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001214/0.001214, allocations: 86.42 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.0004858, allocations: 16.73 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2086, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.9439/1.152, allocations: 167 MB / 1.141 GB, free: 14.42 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01608/1.169, allocations: 7.288 MB / 1.149 GB, free: 10.56 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/1.17, allocations: 26.78 kB / 1.149 GB, free: 10.55 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003076/1.174, allocations: 0.6374 MB / 1.149 GB, free: 10.1 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009185/1.183, allocations: 2.034 MB / 1.151 GB, free: 8.445 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004773/1.188, allocations: 0.9944 MB / 1.152 GB, free: 7.734 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004639/1.192, allocations: 1.66 MB / 1.154 GB, free: 6.68 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/1.194, allocations: 0.6783 MB / 1.154 GB, free: 6.273 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002668/1.197, allocations: 0.7937 MB / 1.155 GB, free: 5.809 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001716/1.198, allocations: 0.6088 MB / 1.156 GB, free: 5.457 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002379/1.199, allocations: 48.41 kB / 1.156 GB, free: 5.457 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004262/1.203, allocations: 0.8945 MB / 1.157 GB, free: 5.082 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008178/1.204, allocations: 345.5 kB / 1.157 GB, free: 4.875 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006861/1.204, allocations: 263.3 kB / 1.157 GB, free: 4.738 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003691/1.208, allocations: 1.471 MB / 1.159 GB, free: 3.773 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/1.208, allocations: 1.156 kB / 1.159 GB, free: 3.773 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.466e-06/1.208, allocations: 0 / 1.159 GB, free: 3.773 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.807e-05/1.208, allocations: 3.938 kB / 1.159 GB, free: 3.77 MB / 0.698 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.005277/1.214, allocations: 1.377 MB / 1.16 GB, free: 2.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/1.214, allocations: 14.08 kB / 1.16 GB, free: 2.727 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000434/1.214, allocations: 141.8 kB / 1.16 GB, free: 2.609 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004009/1.218, allocations: 372.6 kB / 1.161 GB, free: 2.445 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002598/1.221, allocations: 0.7732 MB / 1.161 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.404e-05/1.221, allocations: 64.59 kB / 1.161 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002555/1.221, allocations: 88.8 kB / 1.161 GB, free: 1.773 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003266/1.224, allocations: 1.029 MB / 1.162 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.682e-05/1.225, allocations: 1.188 kB / 1.162 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/1.225, allocations: 36.33 kB / 1.163 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/1.225, allocations: 45.61 kB / 1.163 GB, free: 1.094 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003107/1.228, allocations: 0.8726 MB / 1.163 GB, free: 0.6641 MB / 0.698 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.008927/1.237, allocations: 4.288 MB / 1.168 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/1.239, allocations: 0.6923 MB / 1.168 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000954/1.24, allocations: 0.6784 MB / 1.169 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.118e-05/1.24, allocations: 43.09 kB / 1.169 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 3.397e-06/1.24, allocations: 0 / 1.169 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.003554/1.244, allocations: 0.9947 MB / 1.17 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/1.244, allocations: 59.41 kB / 1.17 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/1.245, allocations: 0.6195 MB / 1.171 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/1.245, allocations: 38.58 kB / 1.171 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004414/1.245, allocations: 435.8 kB / 1.171 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003605/1.246, allocations: 244.7 kB / 1.171 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/1.246, allocations: 14.81 kB / 1.171 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002343/1.246, allocations: 395.3 kB / 1.172 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008189/1.247, allocations: 269.8 kB / 1.172 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008681/1.248, allocations: 367.6 kB / 1.172 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009078/1.249, allocations: 326.4 kB / 1.173 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.249, allocations: 0 / 1.173 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002254/1.251, allocations: 0.785 MB / 1.173 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/1.251, allocations: 7.594 kB / 1.173 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.251, allocations: 2 kB / 1.173 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/1.251, allocations: 5.656 kB / 1.173 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/1.252, allocations: 146.7 kB / 1.174 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/1.252, allocations: 5.656 kB / 1.174 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/1.254, allocations: 108.5 kB / 1.174 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.72e-05/1.254, allocations: 24 kB / 1.174 GB, free: 8.648 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.0007242/1.255, allocations: 291.3 kB / 1.174 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/1.255, allocations: 83.12 kB / 1.174 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/1.258, allocations: 0.7927 MB / 1.175 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/1.258, allocations: 5.312 kB / 1.175 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.258, allocations: 0 / 1.175 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00183/1.26, allocations: 0.8115 MB / 1.176 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/1.262, allocations: 0.9825 MB / 1.177 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/1.262, allocations: 0 / 1.177 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/1.264, allocations: 167.6 kB / 1.177 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/1.264, allocations: 2.812 kB / 1.177 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.389e-05/1.264, allocations: 17.03 kB / 1.177 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/1.264, allocations: 2.406 kB / 1.177 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.264, allocations: 2.812 kB / 1.177 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003237/1.267, allocations: 1.269 MB / 1.178 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008584/1.268, allocations: 248.8 kB / 1.178 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/1.268, allocations: 16.88 kB / 1.178 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/1.27, allocations: 72.38 kB / 1.178 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/1.27, allocations: 45.05 kB / 1.178 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.213e-05/1.27, allocations: 23.12 kB / 1.178 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008579/1.271, allocations: 443.6 kB / 1.179 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.735e-06/1.271, allocations: 3.938 kB / 1.179 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00135/1.272, allocations: 340.7 kB / 1.179 GB, free: 5.242 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.003834/1.276, allocations: 1.907 MB / 1.181 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002726/1.279, allocations: 0.6764 MB / 1.182 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/1.279, allocations: 0 / 1.182 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/1.28, allocations: 368.8 kB / 1.182 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004292/1.284, allocations: 0.5023 MB / 1.182 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/1.299, allocations: 6.602 MB / 1.189 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009482/1.3, allocations: 1.109 MB / 1.19 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001684/1.302, allocations: 221.7 kB / 1.19 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008704/1.302, allocations: 354.3 kB / 1.191 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of SimCode: time 1.333e-06/1.302, allocations: 0 / 1.191 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08271/1.385, allocations: 24.99 MB / 1.215 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003851/1.386, allocations: 185.3 kB / 1.215 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.454/4.84, allocations: 0 / 1.215 GB, free: 6.105 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)