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.001352/0.001352, allocations: 109.4 kB / 15.69 MB, free: 128 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.001823/0.001823, allocations: 188.4 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.138/2.138, allocations: 205.1 MB / 222.5 MB, free: 4.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.836/1.836, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.002316/0.002316, allocations: 71.16 kB / 0.6718 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4259, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 1.116/1.542, allocations: 201.9 MB / 0.9808 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01651/1.558, allocations: 7.318 MB / 0.988 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003499/1.562, allocations: 32.72 kB / 0.988 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003441/1.565, allocations: 0.7 MB / 0.9887 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01026/1.575, allocations: 2.353 MB / 0.991 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005813/1.581, allocations: 1.269 MB / 0.9922 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007692/1.589, allocations: 2.888 MB / 0.995 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002087/1.591, allocations: 0.9399 MB / 0.996 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003708/1.595, allocations: 1.024 MB / 0.997 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003559/1.598, allocations: 0.9557 MB / 0.9979 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002604/1.599, allocations: 110.6 kB / 0.998 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006256/1.605, allocations: 2.135 MB / 1 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007755/1.606, allocations: 444.9 kB / 1.001 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001355/1.607, allocations: 0.6661 MB / 1.001 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006871/1.614, allocations: 2.4 MB / 1.004 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.614, allocations: 7.938 kB / 1.004 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.104e-06/1.614, allocations: 0 / 1.004 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.76e-05/1.614, allocations: 0 / 1.004 GB, free: 4.316 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.004055/1.618, allocations: 1.618 MB / 1.005 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/1.618, allocations: 11.34 kB / 1.005 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001852/1.618, allocations: 133.8 kB / 1.005 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002537/1.621, allocations: 378.6 kB / 1.006 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/1.623, allocations: 0.8354 MB / 1.006 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/1.623, allocations: 69 kB / 1.006 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/1.623, allocations: 93.83 kB / 1.007 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/1.625, allocations: 1.041 MB / 1.008 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/1.625, allocations: 6.062 kB / 1.008 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.461e-05/1.625, allocations: 31.75 kB / 1.008 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-05/1.625, allocations: 51.58 kB / 1.008 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/1.626, allocations: 0.873 MB / 1.009 GB, free: 1.02 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.005644/1.632, allocations: 4.28 MB / 1.013 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/1.633, allocations: 0.7081 MB / 1.013 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007375/1.634, allocations: 455 kB / 1.014 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006906/1.635, allocations: 0.6782 MB / 1.014 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/1.635, allocations: 41.84 kB / 1.015 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 2.184e-06/1.635, allocations: 0 / 1.015 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.001998/1.637, allocations: 0.9848 MB / 1.015 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/1.637, allocations: 63.94 kB / 1.016 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008439/1.637, allocations: 0.6275 MB / 1.016 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.115e-05/1.638, allocations: 42.73 kB / 1.016 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003445/1.638, allocations: 428.5 kB / 1.017 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000278/1.638, allocations: 247.9 kB / 1.017 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/1.638, allocations: 112.6 kB / 1.017 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000183/1.639, allocations: 400.1 kB / 1.017 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/1.639, allocations: 273 kB / 1.018 GB, free: 9.688 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005175/1.64, allocations: 362.2 kB / 1.018 GB, free: 9.457 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009689/1.641, allocations: 0.6682 MB / 1.019 GB, free: 9.07 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.641, allocations: 0 / 1.019 GB, free: 9.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001327/1.642, allocations: 0.7892 MB / 1.019 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/1.642, allocations: 7.906 kB / 1.019 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.642, allocations: 1.812 kB / 1.019 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/1.642, allocations: 5.688 kB / 1.019 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/1.643, allocations: 140.3 kB / 1.02 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/1.643, allocations: 3.312 kB / 1.02 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008363/1.643, allocations: 58.42 kB / 1.02 GB, free: 8.594 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.667e-05/1.644, allocations: 23.31 kB / 1.02 GB, free: 8.586 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.0005249/1.644, allocations: 292.1 kB / 1.02 GB, free: 8.359 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/1.644, allocations: 85.62 kB / 1.02 GB, free: 8.316 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/1.646, allocations: 0.798 MB / 1.021 GB, free: 7.848 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/1.646, allocations: 11.03 kB / 1.021 GB, free: 7.844 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/1.646, allocations: 3.938 kB / 1.021 GB, free: 7.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001084/1.647, allocations: 0.8095 MB / 1.022 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002905/1.65, allocations: 1.843 MB / 1.023 GB, free: 6.074 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.65, allocations: 0 / 1.023 GB, free: 6.074 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008525/1.651, allocations: 172.5 kB / 1.023 GB, free: 6.035 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/1.651, allocations: 2.719 kB / 1.024 GB, free: 6.035 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.663e-05/1.651, allocations: 17.09 kB / 1.024 GB, free: 6.023 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.095e-05/1.651, allocations: 6.609 kB / 1.024 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.651, allocations: 3.938 kB / 1.024 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/1.653, allocations: 1.276 MB / 1.025 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005271/1.653, allocations: 242.3 kB / 1.025 GB, free: 5.086 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/1.653, allocations: 13.81 kB / 1.025 GB, free: 5.074 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006139/1.654, allocations: 22.14 kB / 1.025 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/1.654, allocations: 44.81 kB / 1.025 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-05/1.654, allocations: 25.45 kB / 1.025 GB, free: 5.027 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006909/1.655, allocations: 447.7 kB / 1.026 GB, free: 4.773 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.655, allocations: 0 / 1.026 GB, free: 4.773 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001034/1.656, allocations: 336.5 kB / 1.026 GB, free: 4.707 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.002419/1.658, allocations: 1.911 MB / 1.028 GB, free: 3.414 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001244/1.66, allocations: 0.6808 MB / 1.028 GB, free: 3.102 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/1.66, allocations: 0 / 1.028 GB, free: 3.102 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005445/1.66, allocations: 368.2 kB / 1.029 GB, free: 2.938 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/1.663, allocations: 0.5446 MB / 1.029 GB, free: 2.648 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/1.674, allocations: 6.873 MB / 1.036 GB, free: 12 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000764/1.674, allocations: 1.077 MB / 1.037 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009806/1.675, allocations: 223.1 kB / 1.037 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005145/1.676, allocations: 355.3 kB / 1.038 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of SimCode: time 1.422e-06/1.676, allocations: 4 kB / 1.038 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07532/1.751, allocations: 25.08 MB / 1.062 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.705/10.46, allocations: 8.062 kB / 1.062 GB, free: 1.602 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)