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.0006651/0.0006651, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0007022/0.0007022, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.12/1.12, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.49/1.49, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0004598/0.0004598, allocations: 18.28 kB / 0.6738 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1825, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.5105/0.693, allocations: 183.8 MB / 0.9669 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008214/0.7013, allocations: 6.853 MB / 0.9736 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008376/0.7022, allocations: 33.16 kB / 0.9736 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.7033, allocations: 468.3 kB / 0.9741 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003637/0.707, allocations: 1.725 MB / 0.9758 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.709, allocations: 0.8634 MB / 0.9766 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003076/0.7121, allocations: 3.469 MB / 0.98 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008046/0.7129, allocations: 0.6725 MB / 0.9807 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.714, allocations: 0.8686 MB / 0.9815 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000917/0.7149, allocations: 0.9234 MB / 0.9824 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.277e-05/0.715, allocations: 49.03 kB / 0.9825 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.7173, allocations: 1.056 MB / 0.9835 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002833/0.7176, allocations: 383.8 kB / 0.9839 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.7178, allocations: 265.9 kB / 0.9841 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.7191, allocations: 1.597 MB / 0.9857 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.7191, allocations: 0 / 0.9857 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7191, allocations: 0 / 0.9857 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.7191, allocations: 0 / 0.9857 GB, free: 0.7812 MB / 0.7169 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.002273/0.7214, allocations: 1.423 MB / 0.9871 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.7214, allocations: 8.719 kB / 0.9871 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001262/0.7216, allocations: 135.9 kB / 0.9872 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002037/0.7236, allocations: 376 kB / 0.9876 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009535/0.7246, allocations: 0.7763 MB / 0.9883 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.7246, allocations: 70.28 kB / 0.9884 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.7247, allocations: 84.62 kB / 0.9885 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.7261, allocations: 1.036 MB / 0.9895 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.7262, allocations: 3.953 kB / 0.9895 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.065e-05/0.7262, allocations: 35.25 kB / 0.9895 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-05/0.7263, allocations: 50.73 kB / 0.9896 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.7275, allocations: 0.8683 MB / 0.9904 GB, free: 14.68 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.003688/0.7312, allocations: 4.281 MB / 0.9946 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008424/0.7321, allocations: 0.699 MB / 0.9953 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005698/0.7326, allocations: 450 kB / 0.9957 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004849/0.7331, allocations: 0.6739 MB / 0.9964 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.7332, allocations: 49.88 kB / 0.9964 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 2.044e-06/0.7332, allocations: 0 / 0.9964 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.001476/0.7347, allocations: 0.9811 MB / 0.9974 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.7347, allocations: 66.08 kB / 0.9974 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005722/0.7353, allocations: 0.6222 MB / 0.998 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/0.7353, allocations: 40.14 kB / 0.9981 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.7356, allocations: 427.5 kB / 0.9985 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.7357, allocations: 252.2 kB / 0.9987 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.7358, allocations: 14.97 kB / 0.9987 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.7359, allocations: 382.6 kB / 0.9991 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.7363, allocations: 275.7 kB / 0.9994 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/0.7367, allocations: 366.5 kB / 0.9997 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/0.7371, allocations: 333.2 kB / 1 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7371, allocations: 0 / 1 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009882/0.7381, allocations: 0.7832 MB / 1.001 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.7382, allocations: 12.08 kB / 1.001 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.7382, allocations: 3 kB / 1.001 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.7382, allocations: 5.25 kB / 1.001 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005496/0.7387, allocations: 142.8 kB / 1.001 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.7388, allocations: 4.688 kB / 1.001 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007177/0.7395, allocations: 108.8 kB / 1.001 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.7395, allocations: 18.03 kB / 1.001 GB, free: 8.879 MB / 0.7325 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.0002948/0.7398, allocations: 289.6 kB / 1.001 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.7399, allocations: 79.75 kB / 1.001 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.7411, allocations: 0.7985 MB / 1.002 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.7411, allocations: 5.875 kB / 1.002 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7411, allocations: 3.938 kB / 1.002 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008651/0.742, allocations: 0.8108 MB / 1.003 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.7441, allocations: 1.849 MB / 1.005 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.7441, allocations: 0 / 1.005 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007045/0.7448, allocations: 169.9 kB / 1.005 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.7448, allocations: 3.125 kB / 1.005 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.172e-05/0.7449, allocations: 19.58 kB / 1.005 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.7449, allocations: 2.844 kB / 1.005 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7449, allocations: 6.125 kB / 1.005 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.7463, allocations: 1.271 MB / 1.006 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.7466, allocations: 244.1 kB / 1.006 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-05/0.7467, allocations: 12.22 kB / 1.006 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006183/0.7473, allocations: 86.08 kB / 1.007 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.612e-05/0.7474, allocations: 38.12 kB / 1.007 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.7475, allocations: 27.27 kB / 1.007 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004081/0.7479, allocations: 442.8 kB / 1.007 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7479, allocations: 0 / 1.007 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000691/0.7486, allocations: 336.2 kB / 1.007 GB, free: 6.742 MB / 0.7325 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.001823/0.7504, allocations: 1.917 MB / 1.009 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008874/0.7513, allocations: 0.6726 MB / 1.01 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7513, allocations: 1.859 kB / 1.01 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004382/0.7518, allocations: 370.2 kB / 1.01 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.7537, allocations: 0.5264 MB / 1.011 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006791/0.7605, allocations: 5.756 MB / 1.016 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.761, allocations: 1.086 MB / 1.017 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007803/0.7618, allocations: 218.3 kB / 1.018 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003899/0.7622, allocations: 356.1 kB / 1.018 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.7622, allocations: 0 / 1.018 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03666/0.7989, allocations: 25.04 MB / 1.042 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/0.7991, allocations: 190.8 kB / 1.043 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.769, allocations: 2.812 kB / 1.043 GB, free: 12.69 MB / 0.7637 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/linux/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) Environment - environmentSimulation: