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: translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.9568/0.9568, allocations: 143 MB / 433.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.91 kB / 0.5142 GB, free: 11.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.137, allocations: 82.04 MB / 0.5943 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.4166/0.5537, allocations: 202.1 MB / 0.7916 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01016/0.5639, allocations: 7.395 MB / 0.7988 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009191/0.5648, allocations: 39.75 kB / 0.7989 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.5664, allocations: 0.6953 MB / 0.7996 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004668/0.5711, allocations: 2.4 MB / 0.8019 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.5737, allocations: 1.235 MB / 0.8031 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002817/0.5765, allocations: 2.902 MB / 0.8059 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.5775, allocations: 0.9456 MB / 0.8069 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.5787, allocations: 1.02 MB / 0.8079 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.5801, allocations: 0.9638 MB / 0.8088 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.5802, allocations: 108 kB / 0.8089 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003406/0.5837, allocations: 2.128 MB / 0.811 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003895/0.5841, allocations: 450.7 kB / 0.8114 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006148/0.5847, allocations: 0.6611 MB / 0.8121 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002668/0.5874, allocations: 2.466 MB / 0.8145 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5874, allocations: 4 kB / 0.8145 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5874, allocations: 0 / 0.8145 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.5874, allocations: 0 / 0.8145 GB, free: 11.85 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.002871/0.5903, allocations: 1.628 MB / 0.8161 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.5903, allocations: 8.031 kB / 0.8161 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00239/0.5927, allocations: 382.1 kB / 0.8164 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.5939, allocations: 0.8084 MB / 0.8172 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.457e-05/0.5939, allocations: 69.94 kB / 0.8173 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.594, allocations: 87.89 kB / 0.8174 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.5956, allocations: 1.042 MB / 0.8184 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.5956, allocations: 4 kB / 0.8184 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.49e-05/0.5957, allocations: 36 kB / 0.8184 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-05/0.5958, allocations: 45.17 kB / 0.8185 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.5972, allocations: 0.8861 MB / 0.8193 GB, free: 6.742 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.004347/0.6016, allocations: 4.327 MB / 0.8236 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.6027, allocations: 0.6914 MB / 0.8242 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007512/0.6035, allocations: 458.9 kB / 0.8247 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005779/0.6041, allocations: 0.6693 MB / 0.8253 GB, free: 100 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.6041, allocations: 47.11 kB / 0.8254 GB, free: 40 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 1.954e-06/0.6041, allocations: 0 / 0.8254 GB, free: 40 kB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.001756/0.6059, allocations: 0.99 MB / 0.8263 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.6059, allocations: 63.95 kB / 0.8264 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006833/0.6066, allocations: 0.6295 MB / 0.827 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.398e-05/0.6067, allocations: 41.7 kB / 0.8271 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.607, allocations: 432.1 kB / 0.8275 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.6072, allocations: 248.3 kB / 0.8277 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.6073, allocations: 126.2 kB / 0.8278 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.6075, allocations: 390.7 kB / 0.8282 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004498/0.608, allocations: 273.2 kB / 0.8285 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004882/0.6085, allocations: 353.1 kB / 0.8288 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009873/0.6095, allocations: 0.6665 MB / 0.8294 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6095, allocations: 0 / 0.8294 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001214/0.6107, allocations: 0.793 MB / 0.8302 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.6107, allocations: 9.25 kB / 0.8302 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.6107, allocations: 0 / 0.8302 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.6108, allocations: 7.984 kB / 0.8302 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006273/0.6114, allocations: 147.8 kB / 0.8304 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.6114, allocations: 4.625 kB / 0.8304 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007052/0.6121, allocations: 51.47 kB / 0.8304 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/0.6122, allocations: 28.17 kB / 0.8305 GB, free: 10.73 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.0003632/0.6125, allocations: 290.2 kB / 0.8307 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.6127, allocations: 90.91 kB / 0.8308 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.614, allocations: 0.7976 MB / 0.8316 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.614, allocations: 8 kB / 0.8316 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.614, allocations: 0 / 0.8316 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001037/0.6151, allocations: 0.823 MB / 0.8324 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002479/0.6176, allocations: 1.844 MB / 0.8342 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6176, allocations: 0 / 0.8342 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008075/0.6184, allocations: 169.6 kB / 0.8344 GB, free: 6.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.6184, allocations: 7.938 kB / 0.8344 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.604e-05/0.6185, allocations: 16 kB / 0.8344 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.6185, allocations: 0 / 0.8344 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6185, allocations: 0 / 0.8344 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.6202, allocations: 1.197 MB / 0.8356 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003344/0.6205, allocations: 255.8 kB / 0.8358 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.6206, allocations: 16 kB / 0.8358 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006173/0.6212, allocations: 23.17 kB / 0.8358 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.6214, allocations: 44.5 kB / 0.8359 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/0.6214, allocations: 23.98 kB / 0.8359 GB, free: 4.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005022/0.6219, allocations: 455 kB / 0.8363 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.664e-06/0.6219, allocations: 0 / 0.8363 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007622/0.6227, allocations: 335.2 kB / 0.8367 GB, free: 4.215 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.0003033/0.623, allocations: 210 kB / 0.8369 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001533/0.6245, allocations: 0.8165 MB / 0.8377 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6246, allocations: 4.062 kB / 0.8377 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005293/0.6251, allocations: 375 kB / 0.838 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/0.6274, allocations: 0.5497 MB / 0.8386 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003181/0.6306, allocations: 2.171 MB / 0.8407 GB, free: 112 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006432/0.6312, allocations: 1.093 MB / 0.8417 GB, free: 14.99 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008133/0.6321, allocations: 225.7 kB / 0.842 GB, free: 14.77 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.6323, allocations: 71.42 kB / 0.842 GB, free: 14.7 MB / 0.67 GB Notification: Performance of SimCode: time 2.51e-07/0.6323, allocations: 0 / 0.842 GB, free: 14.7 MB / 0.67 GB Notification: Performance of Templates: time 0.2347/0.867, allocations: 18.33 MB / 0.8599 GB, free: 207.4 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)