Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001119/0.001119, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00111/0.00111, allocations: 188.5 kB / 16.25 MB, free: 6.637 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.173/1.173, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8438/0.8438, allocations: 143 MB / 433.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 60.09 kB / 0.5138 GB, free: 11.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1215, allocations: 82.04 MB / 0.5939 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.3575/0.479, allocations: 199.5 MB / 0.7887 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008473/0.4875, allocations: 7.358 MB / 0.7959 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004706/0.488, allocations: 39.75 kB / 0.7959 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.4893, allocations: 0.6221 MB / 0.7965 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003772/0.4931, allocations: 2.259 MB / 0.7987 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.4952, allocations: 1.133 MB / 0.7998 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002398/0.4976, allocations: 2.902 MB / 0.8027 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008739/0.4984, allocations: 0.9258 MB / 0.8036 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009712/0.4994, allocations: 1.035 MB / 0.8046 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.5008, allocations: 1.035 MB / 0.8056 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.501, allocations: 112 kB / 0.8057 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00269/0.5037, allocations: 2.225 MB / 0.8079 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003452/0.504, allocations: 450.7 kB / 0.8083 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005476/0.5046, allocations: 0.6689 MB / 0.809 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002378/0.507, allocations: 2.617 MB / 0.8115 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.507, allocations: 0 / 0.8115 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.142e-06/0.507, allocations: 11.94 kB / 0.8115 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.507, allocations: 0 / 0.8115 GB, free: 14.59 MB / 0.6387 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.002617/0.5096, allocations: 1.62 MB / 0.8131 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.5097, allocations: 12.03 kB / 0.8131 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001458/0.5098, allocations: 135.2 kB / 0.8133 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002229/0.5121, allocations: 378.2 kB / 0.8136 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.5131, allocations: 0.8084 MB / 0.8144 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.457e-05/0.5132, allocations: 69.92 kB / 0.8145 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.5133, allocations: 87.91 kB / 0.8146 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.5148, allocations: 1.046 MB / 0.8156 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.5148, allocations: 0 / 0.8156 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.01e-05/0.5149, allocations: 36 kB / 0.8156 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.701e-05/0.5149, allocations: 45.98 kB / 0.8157 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.5163, allocations: 0.8783 MB / 0.8165 GB, free: 9.352 MB / 0.6387 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.003853/0.5201, allocations: 4.288 MB / 0.8207 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.5212, allocations: 0.6935 MB / 0.8214 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006566/0.5218, allocations: 454.9 kB / 0.8218 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005121/0.5223, allocations: 0.6771 MB / 0.8225 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.5224, allocations: 39.12 kB / 0.8225 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 1.723e-06/0.5224, allocations: 0 / 0.8225 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.001594/0.524, allocations: 0.99 MB / 0.8235 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.524, allocations: 63.97 kB / 0.8235 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006167/0.5246, allocations: 0.6334 MB / 0.8242 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.048e-05/0.5247, allocations: 37.7 kB / 0.8242 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.5249, allocations: 432.1 kB / 0.8246 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.5251, allocations: 252.2 kB / 0.8248 GB, free: 260 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.5253, allocations: 114.3 kB / 0.825 GB, free: 140 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.5254, allocations: 394.7 kB / 0.8253 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004164/0.5259, allocations: 273.2 kB / 0.8256 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/0.5263, allocations: 357.1 kB / 0.8259 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008867/0.5272, allocations: 0.6626 MB / 0.8266 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5272, allocations: 0 / 0.8266 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001094/0.5283, allocations: 0.793 MB / 0.8274 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.5284, allocations: 6.031 kB / 0.8274 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5284, allocations: 8.188 kB / 0.8274 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.5284, allocations: 4 kB / 0.8274 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005739/0.529, allocations: 143.8 kB / 0.8275 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.529, allocations: 11.92 kB / 0.8275 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007951/0.5298, allocations: 111.4 kB / 0.8276 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.5298, allocations: 27.98 kB / 0.8277 GB, free: 13.32 MB / 0.6544 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.0003088/0.5301, allocations: 282.2 kB / 0.8279 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.5303, allocations: 94.84 kB / 0.828 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.5315, allocations: 0.792 MB / 0.8288 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.5315, allocations: 8.812 kB / 0.8288 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.5315, allocations: 0 / 0.8288 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009557/0.5325, allocations: 0.823 MB / 0.8296 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/0.5347, allocations: 1.852 MB / 0.8314 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.5348, allocations: 4 kB / 0.8314 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007588/0.5355, allocations: 169.8 kB / 0.8316 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.5355, allocations: 4 kB / 0.8316 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/0.5356, allocations: 16 kB / 0.8316 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.5356, allocations: 4 kB / 0.8316 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5356, allocations: 0 / 0.8316 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.5371, allocations: 1.205 MB / 0.8328 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002824/0.5374, allocations: 247.8 kB / 0.833 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.5375, allocations: 12 kB / 0.833 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006877/0.5382, allocations: 71.84 kB / 0.8331 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.584e-05/0.5383, allocations: 44.5 kB / 0.8331 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.535e-05/0.5384, allocations: 23.98 kB / 0.8332 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004416/0.5388, allocations: 455 kB / 0.8336 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.333e-06/0.5388, allocations: 0 / 0.8336 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006243/0.5395, allocations: 339.2 kB / 0.8339 GB, free: 6.746 MB / 0.6544 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.001891/0.5414, allocations: 1.837 MB / 0.8357 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.5427, allocations: 0.8203 MB / 0.8365 GB, free: 4.062 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5427, allocations: 4.125 kB / 0.8365 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004696/0.5432, allocations: 367 kB / 0.8369 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/0.5452, allocations: 0.5539 MB / 0.8374 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008754/0.554, allocations: 7.568 MB / 0.8448 GB, free: 11.46 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005232/0.5545, allocations: 1.085 MB / 0.8458 GB, free: 10.35 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000743/0.5553, allocations: 230.2 kB / 0.8461 GB, free: 10.12 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004321/0.5557, allocations: 363.3 kB / 0.8464 GB, free: 9.77 MB / 0.67 GB Notification: Performance of SimCode: time 3e-07/0.5557, allocations: 0 / 0.8464 GB, free: 9.77 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5779/1.134, allocations: 24.91 MB / 0.8707 GB, free: 207.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001466/1.134, allocations: 209.5 kB / 0.8709 GB, free: 207.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/3.19, allocations: 3.938 kB / 0.8709 GB, free: 207.6 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)