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.001116/0.001116, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001134/0.001134, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.219/1.219, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.513/1.513, allocations: 292.3 MB / 0.5486 GB, free: 13.62 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.001237/0.001237, allocations: 75.14 kB / 0.6711 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1832, allocations: 114.5 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.5286/0.7119, allocations: 199.4 MB / 0.9776 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008291/0.7202, allocations: 7.289 MB / 0.9848 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008654/0.7211, allocations: 28.62 kB / 0.9848 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.7226, allocations: 0.6248 MB / 0.9854 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004321/0.7269, allocations: 2.213 MB / 0.9876 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.7293, allocations: 1.159 MB / 0.9887 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002635/0.7319, allocations: 2.882 MB / 0.9915 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009829/0.7329, allocations: 0.925 MB / 0.9924 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.7341, allocations: 1.034 MB / 0.9934 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.7354, allocations: 1.026 MB / 0.9944 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.7355, allocations: 110.3 kB / 0.9945 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00292/0.7385, allocations: 2.237 MB / 0.9967 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003076/0.7388, allocations: 443.2 kB / 0.9971 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004814/0.7393, allocations: 0.6645 MB / 0.9978 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002209/0.7415, allocations: 2.543 MB / 1 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7415, allocations: 2.531 kB / 1 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7415, allocations: 0 / 1 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.7415, allocations: 4 kB / 1 GB, free: 2.633 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.0026/0.7441, allocations: 1.611 MB / 1.002 GB, free: 17.62 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.7442, allocations: 8.562 kB / 1.002 GB, free: 17.62 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001273/0.7443, allocations: 141.6 kB / 1.002 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/0.7465, allocations: 376.7 kB / 1.002 GB, free: 17.44 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000909/0.7474, allocations: 0.7999 MB / 1.003 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.7474, allocations: 75 kB / 1.003 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.7475, allocations: 85.3 kB / 1.003 GB, free: 16.9 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.7489, allocations: 1.041 MB / 1.004 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.7489, allocations: 4.75 kB / 1.004 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.269e-05/0.749, allocations: 32.44 kB / 1.004 GB, free: 16.42 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.262e-05/0.749, allocations: 46.28 kB / 1.004 GB, free: 16.42 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.7502, allocations: 0.8747 MB / 1.005 GB, free: 16.12 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.003703/0.7539, allocations: 4.272 MB / 1.009 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009054/0.7548, allocations: 0.7018 MB / 1.01 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006318/0.7555, allocations: 455.7 kB / 1.011 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005692/0.756, allocations: 0.6784 MB / 1.011 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.7561, allocations: 39.75 kB / 1.011 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 1.724e-06/0.7561, allocations: 0 / 1.011 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.001547/0.7576, allocations: 0.9888 MB / 1.012 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.7577, allocations: 61.59 kB / 1.012 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006046/0.7583, allocations: 0.6307 MB / 1.013 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/0.7583, allocations: 48.11 kB / 1.013 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.7586, allocations: 421.4 kB / 1.013 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.7588, allocations: 250 kB / 1.014 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.7589, allocations: 118 kB / 1.014 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.7591, allocations: 389 kB / 1.014 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/0.7595, allocations: 272.4 kB / 1.014 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/0.7599, allocations: 372.1 kB / 1.015 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008607/0.7608, allocations: 0.6599 MB / 1.015 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7608, allocations: 3.938 kB / 1.015 GB, free: 9.355 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001046/0.7619, allocations: 0.7849 MB / 1.016 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.7619, allocations: 12.41 kB / 1.016 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7619, allocations: 2.25 kB / 1.016 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.7619, allocations: 5.031 kB / 1.016 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005575/0.7625, allocations: 145.2 kB / 1.016 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.7625, allocations: 5.031 kB / 1.016 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007527/0.7633, allocations: 103.6 kB / 1.016 GB, free: 8.973 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.7633, allocations: 29.33 kB / 1.016 GB, free: 8.961 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.0003068/0.7636, allocations: 292.2 kB / 1.017 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.7638, allocations: 78.59 kB / 1.017 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.765, allocations: 0.7911 MB / 1.017 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.765, allocations: 6.844 kB / 1.017 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.765, allocations: 9.188 kB / 1.017 GB, free: 8.289 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009381/0.7659, allocations: 0.8087 MB / 1.018 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.7681, allocations: 1.848 MB / 1.02 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.7681, allocations: 3.219 kB / 1.02 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007314/0.7689, allocations: 171.9 kB / 1.02 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.7689, allocations: 5.094 kB / 1.02 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.335e-05/0.7689, allocations: 11.19 kB / 1.02 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.769, allocations: 2.375 kB / 1.02 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.769, allocations: 2.406 kB / 1.02 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.7705, allocations: 1.276 MB / 1.022 GB, free: 5.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/0.7708, allocations: 243.5 kB / 1.022 GB, free: 5.539 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.7709, allocations: 17.92 kB / 1.022 GB, free: 5.527 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006767/0.7716, allocations: 77.16 kB / 1.022 GB, free: 5.488 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.872e-05/0.7717, allocations: 41.44 kB / 1.022 GB, free: 5.469 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.056e-05/0.7717, allocations: 17.44 kB / 1.022 GB, free: 5.465 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000433/0.7722, allocations: 454.2 kB / 1.022 GB, free: 5.207 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7722, allocations: 4 kB / 1.022 GB, free: 5.203 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006272/0.7728, allocations: 336.6 kB / 1.023 GB, free: 5.137 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.001932/0.7747, allocations: 1.909 MB / 1.025 GB, free: 3.855 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.776, allocations: 0.8188 MB / 1.025 GB, free: 3.539 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.776, allocations: 2.531 kB / 1.025 GB, free: 3.539 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004346/0.7765, allocations: 371 kB / 1.026 GB, free: 3.387 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.7785, allocations: 0.5501 MB / 1.026 GB, free: 3.102 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008412/0.7869, allocations: 7.474 MB / 1.034 GB, free: 14.15 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/0.7875, allocations: 1.084 MB / 1.035 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007644/0.7883, allocations: 225.7 kB / 1.035 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004395/0.7887, allocations: 360.2 kB / 1.035 GB, free: 12.87 MB / 0.7637 GB Notification: Performance of SimCode: time 2.5e-07/0.7887, allocations: 0 / 1.035 GB, free: 12.87 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.774/2.563, allocations: 24.84 MB / 1.059 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/2.563, allocations: 198 kB / 1.06 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/4.794, allocations: 0 / 1.06 GB, free: 6.164 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)