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.001651/0.001651, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001829/0.00183, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.449/2.449, allocations: 205.4 MB / 222.1 MB, free: 5.66 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 8.146/8.146, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.0009004/0.0009008, allocations: 14.06 kB / 0.6736 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.402, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 1.428/1.83, allocations: 167 MB / 0.9504 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0244/1.855, allocations: 7.291 MB / 0.9575 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003255/1.858, allocations: 27.28 kB / 0.9575 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003581/1.862, allocations: 0.6333 MB / 0.9581 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01229/1.874, allocations: 2.031 MB / 0.9601 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006992/1.881, allocations: 0.9911 MB / 0.9611 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008939/1.89, allocations: 1.656 MB / 0.9627 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004505/1.895, allocations: 0.679 MB / 0.9633 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006277/1.901, allocations: 0.8015 MB / 0.9641 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003379/1.905, allocations: 0.6083 MB / 0.9647 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005138/1.905, allocations: 48.12 kB / 0.9648 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009182/1.914, allocations: 0.8929 MB / 0.9656 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001757/1.916, allocations: 346.5 kB / 0.966 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002036/1.918, allocations: 262.8 kB / 0.9662 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007703/1.926, allocations: 1.471 MB / 0.9677 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/1.926, allocations: 1.859 kB / 0.9677 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.624e-06/1.926, allocations: 1.562 kB / 0.9677 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.985e-05/1.926, allocations: 4 kB / 0.9677 GB, free: 20.76 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.008646/1.935, allocations: 1.369 MB / 0.969 GB, free: 19.99 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001112/1.935, allocations: 9.938 kB / 0.969 GB, free: 19.99 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007483/1.936, allocations: 143 kB / 0.9691 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005812/1.942, allocations: 378.1 kB / 0.9695 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003944/1.946, allocations: 0.769 MB / 0.9703 GB, free: 19.58 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/1.946, allocations: 69.36 kB / 0.9703 GB, free: 19.58 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003794/1.946, allocations: 84 kB / 0.9704 GB, free: 19.58 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003569/1.95, allocations: 1.029 MB / 0.9714 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-05/1.95, allocations: 6.484 kB / 0.9714 GB, free: 19.44 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/1.95, allocations: 37.38 kB / 0.9715 GB, free: 19.44 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.94e-05/1.95, allocations: 40.19 kB / 0.9715 GB, free: 19.44 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003055/1.953, allocations: 0.8819 MB / 0.9724 GB, free: 19.43 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.01052/1.964, allocations: 4.28 MB / 0.9765 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002282/1.966, allocations: 0.6981 MB / 0.9772 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/1.968, allocations: 0.6756 MB / 0.9779 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.111e-05/1.968, allocations: 47.22 kB / 0.9779 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 7.083e-06/1.968, allocations: 0 / 0.9779 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.004155/1.972, allocations: 0.9857 MB / 0.9789 GB, free: 16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.983e-05/1.972, allocations: 57.81 kB / 0.9789 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001982/1.974, allocations: 0.6209 MB / 0.9795 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001891/1.974, allocations: 40.86 kB / 0.9796 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005925/1.975, allocations: 433.3 kB / 0.98 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005179/1.975, allocations: 250.1 kB / 0.9802 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/1.975, allocations: 12.56 kB / 0.9802 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0003868/1.976, allocations: 391.2 kB / 0.9806 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008222/1.977, allocations: 268.8 kB / 0.9809 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009908/1.978, allocations: 368.7 kB / 0.9812 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009865/1.979, allocations: 327.6 kB / 0.9815 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/1.979, allocations: 3.953 kB / 0.9815 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002805/1.982, allocations: 0.786 MB / 0.9823 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.392e-05/1.982, allocations: 5.844 kB / 0.9823 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/1.982, allocations: 5.984 kB / 0.9823 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.334e-05/1.982, allocations: 5.906 kB / 0.9823 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/1.983, allocations: 149 kB / 0.9825 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.968e-05/1.983, allocations: 10.02 kB / 0.9825 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/1.985, allocations: 105.8 kB / 0.9826 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-05/1.985, allocations: 22.09 kB / 0.9826 GB, free: 14.66 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.001016/1.986, allocations: 290.8 kB / 0.9829 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003627/1.986, allocations: 86.47 kB / 0.983 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/1.989, allocations: 0.7927 MB / 0.9837 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/1.989, allocations: 6.125 kB / 0.9837 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/1.989, allocations: 1.875 kB / 0.9837 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001453/1.99, allocations: 0.8114 MB / 0.9845 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/1.992, allocations: 0.9707 MB / 0.9855 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/1.993, allocations: 0 / 0.9855 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009639/1.993, allocations: 178.8 kB / 0.9857 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.82e-05/1.994, allocations: 2.406 kB / 0.9857 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.988e-05/1.994, allocations: 12.84 kB / 0.9857 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.15e-05/1.994, allocations: 3.219 kB / 0.9857 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.994, allocations: 1.438 kB / 0.9857 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003139/1.997, allocations: 1.273 MB / 0.9869 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1.998, allocations: 242.7 kB / 0.9871 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/1.998, allocations: 22.38 kB / 0.9872 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/1.999, allocations: 76.39 kB / 0.9872 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/2, allocations: 38.5 kB / 0.9873 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.73e-05/2, allocations: 23.59 kB / 0.9873 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001028/2.001, allocations: 444.8 kB / 0.9877 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.914e-06/2.001, allocations: 4 kB / 0.9877 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001761/2.002, allocations: 342.8 kB / 0.9881 GB, free: 12.77 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.00431/2.007, allocations: 1.915 MB / 0.9899 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002327/2.009, allocations: 0.671 MB / 0.9906 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/2.009, allocations: 2.812 kB / 0.9906 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/2.01, allocations: 376.1 kB / 0.9909 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004676/2.015, allocations: 0.502 MB / 0.9914 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01806/2.033, allocations: 6.598 MB / 0.9979 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/2.035, allocations: 1.11 MB / 0.999 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002064/2.037, allocations: 222.7 kB / 0.9992 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008769/2.038, allocations: 350.1 kB / 0.9995 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of SimCode: time 2.374e-06/2.038, allocations: 0 / 0.9995 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09942/2.137, allocations: 24.97 MB / 1.024 GB, free: 5.207 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003663/2.137, allocations: 185.8 kB / 1.024 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.963/6.101, allocations: 0 / 1.024 GB, free: 4.969 MB / 0.7481 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: