Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_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.005555/0.005555, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.001286/0.001285, allocations: 193.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002131/0.002131, allocations: 293.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.97/0.97, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002862/0.002863, allocations: 91.84 kB / 0.681 GB, free: 7.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6003/0.6032, allocations: 86.98 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.7429/1.346, allocations: 201.9 MB / 0.9631 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01318/1.359, allocations: 7.396 MB / 0.9703 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002658/1.362, allocations: 37.03 kB / 0.9704 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002488/1.365, allocations: 0.7031 MB / 0.971 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007587/1.372, allocations: 2.4 MB / 0.9734 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003835/1.376, allocations: 1.236 MB / 0.9746 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004754/1.381, allocations: 2.913 MB / 0.9774 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002097/1.383, allocations: 0.9522 MB / 0.9784 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002528/1.386, allocations: 1.036 MB / 0.9794 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002713/1.388, allocations: 0.9579 MB / 0.9803 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004857/1.389, allocations: 109.9 kB / 0.9804 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00538/1.394, allocations: 2.127 MB / 0.9825 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009677/1.395, allocations: 449.4 kB / 0.9829 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002185/1.397, allocations: 0.6673 MB / 0.9836 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006379/1.404, allocations: 2.408 MB / 0.9859 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.404, allocations: 0 / 0.9859 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/1.404, allocations: 0.7812 kB / 0.9859 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.939e-05/1.404, allocations: 0 / 0.9859 GB, free: 1.43 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.005248/1.409, allocations: 1.628 MB / 0.9875 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/1.409, allocations: 13.22 kB / 0.9875 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003475/1.41, allocations: 134.6 kB / 0.9877 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002883/1.412, allocations: 379.9 kB / 0.988 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/1.414, allocations: 0.843 MB / 0.9888 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.007e-05/1.414, allocations: 66.44 kB / 0.9889 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000227/1.415, allocations: 91.5 kB / 0.989 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/1.417, allocations: 1.044 MB / 0.99 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/1.417, allocations: 3.094 kB / 0.99 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/1.417, allocations: 33.22 kB / 0.99 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.7e-05/1.417, allocations: 43.48 kB / 0.9901 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/1.419, allocations: 0.8821 MB / 0.9909 GB, free: 16.04 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.0055/1.424, allocations: 4.306 MB / 0.9952 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/1.425, allocations: 0.6902 MB / 0.9958 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007204/1.426, allocations: 465.4 kB / 0.9963 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007118/1.427, allocations: 0.6759 MB / 0.9969 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/1.427, allocations: 44.86 kB / 0.997 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 3.106e-06/1.427, allocations: 1.203 kB / 0.997 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.001917/1.429, allocations: 0.9915 MB / 0.9979 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/1.429, allocations: 58.31 kB / 0.998 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009333/1.43, allocations: 0.6363 MB / 0.9986 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.657e-05/1.43, allocations: 35.2 kB / 0.9987 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/1.43, allocations: 437.8 kB / 0.9991 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/1.431, allocations: 252.2 kB / 0.9993 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/1.431, allocations: 118.3 kB / 0.9994 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001758/1.431, allocations: 392.7 kB / 0.9998 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/1.431, allocations: 282.5 kB / 1 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004806/1.432, allocations: 358 kB / 1 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009452/1.433, allocations: 0.6634 MB / 1.001 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/1.433, allocations: 0 / 1.001 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001406/1.434, allocations: 0.7946 MB / 1.002 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/1.434, allocations: 8.438 kB / 1.002 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/1.434, allocations: 0 / 1.002 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/1.434, allocations: 6.094 kB / 1.002 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006488/1.435, allocations: 139.9 kB / 1.002 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/1.435, allocations: 8.125 kB / 1.002 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009137/1.436, allocations: 50.92 kB / 1.002 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/1.436, allocations: 23.77 kB / 1.002 GB, free: 11.51 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005515/1.437, allocations: 296.3 kB / 1.002 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002843/1.437, allocations: 86.09 kB / 1.002 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/1.438, allocations: 0.7936 MB / 1.003 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/1.438, allocations: 6.406 kB / 1.003 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/1.438, allocations: 0.8438 kB / 1.003 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001031/1.439, allocations: 0.8162 MB / 1.004 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/1.443, allocations: 1.851 MB / 1.006 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.443, allocations: 0 / 1.006 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008051/1.443, allocations: 167.5 kB / 1.006 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/1.443, allocations: 2.906 kB / 1.006 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.819e-05/1.443, allocations: 23.7 kB / 1.006 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/1.443, allocations: 5.844 kB / 1.006 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.443, allocations: 0 / 1.006 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/1.445, allocations: 1.186 MB / 1.007 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005201/1.446, allocations: 253.2 kB / 1.007 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/1.446, allocations: 14.59 kB / 1.007 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007301/1.447, allocations: 24.59 kB / 1.007 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/1.447, allocations: 41.33 kB / 1.007 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.356e-05/1.447, allocations: 26.98 kB / 1.008 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006011/1.448, allocations: 463.4 kB / 1.008 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.448, allocations: 0.8438 kB / 1.008 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001029/1.449, allocations: 338.9 kB / 1.008 GB, free: 10.2 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.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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.002175/1.451, allocations: 1.83 MB / 1.01 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00113/1.452, allocations: 0.6764 MB / 1.011 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.452, allocations: 4.906 kB / 1.011 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005101/1.453, allocations: 373.3 kB / 1.011 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/1.455, allocations: 0.5431 MB / 1.012 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/1.466, allocations: 6.944 MB / 1.018 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008824/1.467, allocations: 1.095 MB / 1.019 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001138/1.468, allocations: 220.8 kB / 1.02 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005947/1.469, allocations: 358.7 kB / 1.02 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of SimCode: time 1.233e-06/1.469, allocations: 3.938 kB / 1.02 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05889/1.527, allocations: 25.73 MB / 1.045 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.572/11.1, allocations: 12.45 kB / 1.045 GB, free: 6.664 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)