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.001104/0.001104, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001129/0.001129, allocations: 201.5 kB / 16.14 MB, free: 6.797 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.154/1.154, allocations: 205.1 MB / 222 MB, free: 4.75 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.498/1.498, allocations: 292.3 MB / 0.5484 GB, free: 13.63 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.001235/0.001236, allocations: 65.59 kB / 0.6709 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1712, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.4862/0.6574, allocations: 199.7 MB / 0.9778 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008223/0.6657, allocations: 7.428 MB / 0.9851 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.667, allocations: 33.25 kB / 0.9851 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.6684, allocations: 0.5988 MB / 0.9857 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004578/0.673, allocations: 2.228 MB / 0.9879 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.6755, allocations: 1.141 MB / 0.989 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003695/0.6792, allocations: 4.146 MB / 0.993 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008288/0.6801, allocations: 0.8081 MB / 0.9938 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.6813, allocations: 0.8831 MB / 0.9947 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.6826, allocations: 0.9914 MB / 0.9956 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.6827, allocations: 57.69 kB / 0.9957 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003698/0.6864, allocations: 2.488 MB / 0.9981 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003204/0.6867, allocations: 406.1 kB / 0.9985 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005496/0.6873, allocations: 0.6093 MB / 0.9991 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002979/0.6903, allocations: 2.496 MB / 1.002 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.6903, allocations: 3.406 kB / 1.002 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.21e-07/0.6903, allocations: 0 / 1.002 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.6903, allocations: 0 / 1.002 GB, free: 2.398 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.002726/0.693, allocations: 1.618 MB / 1.003 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.6931, allocations: 12.69 kB / 1.003 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.6932, allocations: 134 kB / 1.003 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002253/0.6955, allocations: 375.8 kB / 1.004 GB, free: 17.21 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.6965, allocations: 0.8031 MB / 1.004 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.6965, allocations: 68.34 kB / 1.004 GB, free: 16.69 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.6967, allocations: 87.52 kB / 1.005 GB, free: 16.66 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.6981, allocations: 1.038 MB / 1.006 GB, free: 16.21 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.6981, allocations: 3.047 kB / 1.006 GB, free: 16.21 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-05/0.6982, allocations: 40.31 kB / 1.006 GB, free: 16.19 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.52e-05/0.6983, allocations: 39.66 kB / 1.006 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.6996, allocations: 0.8839 MB / 1.007 GB, free: 15.89 MB / 0.7481 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.004018/0.7036, allocations: 4.271 MB / 1.011 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009332/0.7045, allocations: 0.6977 MB / 1.011 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006428/0.7052, allocations: 460.3 kB / 1.012 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005377/0.7057, allocations: 0.6676 MB / 1.012 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.7058, allocations: 39.5 kB / 1.012 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 2.124e-06/0.7058, allocations: 0 / 1.012 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.001603/0.7074, allocations: 0.993 MB / 1.013 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.7074, allocations: 57.75 kB / 1.014 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006033/0.708, allocations: 0.6338 MB / 1.014 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.904e-05/0.7081, allocations: 40.27 kB / 1.014 GB, free: 9.852 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/0.7084, allocations: 425 kB / 1.015 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.7085, allocations: 249.1 kB / 1.015 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.7087, allocations: 123.3 kB / 1.015 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.7089, allocations: 389.6 kB / 1.015 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/0.7093, allocations: 271.7 kB / 1.016 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/0.7097, allocations: 370.4 kB / 1.016 GB, free: 8.453 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008676/0.7106, allocations: 0.6634 MB / 1.017 GB, free: 8.082 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.7106, allocations: 2.094 kB / 1.017 GB, free: 8.082 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001096/0.7117, allocations: 0.7886 MB / 1.017 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.7117, allocations: 4.531 kB / 1.017 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.7117, allocations: 2.812 kB / 1.017 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.7118, allocations: 9.672 kB / 1.017 GB, free: 7.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005738/0.7123, allocations: 149.9 kB / 1.017 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.7124, allocations: 4.719 kB / 1.017 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007938/0.7132, allocations: 103 kB / 1.018 GB, free: 7.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/0.7132, allocations: 26.72 kB / 1.018 GB, free: 7.582 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.0003228/0.7135, allocations: 285.6 kB / 1.018 GB, free: 7.371 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.7137, allocations: 82.19 kB / 1.018 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.7149, allocations: 0.7893 MB / 1.019 GB, free: 6.875 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.7149, allocations: 8.688 kB / 1.019 GB, free: 6.875 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7149, allocations: 3.938 kB / 1.019 GB, free: 6.871 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009225/0.7158, allocations: 0.811 MB / 1.02 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.7181, allocations: 1.845 MB / 1.021 GB, free: 5.098 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.7181, allocations: 0 / 1.021 GB, free: 5.098 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007325/0.7188, allocations: 171.1 kB / 1.022 GB, free: 5.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.7188, allocations: 2.906 kB / 1.022 GB, free: 5.07 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-05/0.7189, allocations: 12.91 kB / 1.022 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.7189, allocations: 2.375 kB / 1.022 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7189, allocations: 0 / 1.022 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.7204, allocations: 1.282 MB / 1.023 GB, free: 4.336 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003164/0.7208, allocations: 242 kB / 1.023 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.7209, allocations: 17.48 kB / 1.023 GB, free: 4.117 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006729/0.7216, allocations: 72.7 kB / 1.023 GB, free: 4.082 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.54e-05/0.7217, allocations: 48.73 kB / 1.023 GB, free: 4.055 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.323e-05/0.7217, allocations: 21.03 kB / 1.023 GB, free: 4.051 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004453/0.7222, allocations: 450.9 kB / 1.024 GB, free: 3.789 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.7222, allocations: 0 / 1.024 GB, free: 3.789 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007042/0.7229, allocations: 336.5 kB / 1.024 GB, free: 3.723 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.001944/0.7248, allocations: 1.917 MB / 1.026 GB, free: 2.434 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009099/0.7258, allocations: 0.6756 MB / 1.026 GB, free: 2.141 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7258, allocations: 3.156 kB / 1.026 GB, free: 2.141 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004389/0.7262, allocations: 371.9 kB / 1.027 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/0.7282, allocations: 0.5236 MB / 1.027 GB, free: 1.727 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008719/0.7369, allocations: 7.469 MB / 1.035 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/0.7375, allocations: 1.089 MB / 1.036 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008641/0.7384, allocations: 218.7 kB / 1.036 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004425/0.7388, allocations: 356.8 kB / 1.036 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of SimCode: time 6.11e-07/0.7388, allocations: 2.906 kB / 1.036 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03554/0.7743, allocations: 24.09 MB / 1.06 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.7746, allocations: 205.9 kB / 1.06 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.074/2.848, allocations: 0 / 1.06 GB, free: 4.484 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)