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.001179/0.001179, allocations: 109.4 kB / 15.69 MB, free: 128 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.001337/0.001337, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.363/1.363, allocations: 222.9 MB / 240.3 MB, free: 4.332 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 1.011/1.011, allocations: 143 MB / 433.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.91 kB / 0.5144 GB, free: 11.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1781, allocations: 82.04 MB / 0.5945 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.5214/0.6995, allocations: 202.1 MB / 0.7919 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01285/0.7125, allocations: 7.396 MB / 0.7991 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001805/0.7143, allocations: 39.81 kB / 0.7992 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.7163, allocations: 0.6914 MB / 0.7998 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006064/0.7224, allocations: 2.403 MB / 0.8022 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003148/0.7255, allocations: 1.243 MB / 0.8034 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004302/0.7298, allocations: 2.91 MB / 0.8062 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.7312, allocations: 0.9515 MB / 0.8072 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.7332, allocations: 1.008 MB / 0.8081 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002417/0.7356, allocations: 0.966 MB / 0.8091 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.7358, allocations: 108 kB / 0.8092 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004466/0.7403, allocations: 2.135 MB / 0.8113 GB, free: 15 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004836/0.7408, allocations: 450.7 kB / 0.8117 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008726/0.7417, allocations: 0.6689 MB / 0.8124 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003802/0.7455, allocations: 2.478 MB / 0.8148 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.7455, allocations: 0 / 0.8148 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7455, allocations: 0 / 0.8148 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.786e-05/0.7456, allocations: 0 / 0.8148 GB, free: 11.4 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.003098/0.7487, allocations: 1.632 MB / 0.8164 GB, free: 9.715 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.7487, allocations: 8.031 kB / 0.8164 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000162/0.7489, allocations: 135.3 kB / 0.8165 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002418/0.7513, allocations: 378.2 kB / 0.8169 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.7527, allocations: 0.8474 MB / 0.8177 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.353e-05/0.7527, allocations: 69.94 kB / 0.8178 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.7529, allocations: 83.91 kB / 0.8178 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.7546, allocations: 1.046 MB / 0.8189 GB, free: 7.074 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.7546, allocations: 0 / 0.8189 GB, free: 7.074 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.604e-05/0.7547, allocations: 32 kB / 0.8189 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.963e-05/0.7548, allocations: 54.48 kB / 0.819 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.7562, allocations: 0.8783 MB / 0.8198 GB, free: 6.113 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.004753/0.761, allocations: 4.3 MB / 0.824 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.7622, allocations: 0.7 MB / 0.8247 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007244/0.763, allocations: 452.1 kB / 0.8251 GB, free: 320 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006192/0.7636, allocations: 0.6732 MB / 0.8258 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.7636, allocations: 43.12 kB / 0.8258 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.545e-06/0.7637, allocations: 0 / 0.8258 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.001884/0.7655, allocations: 0.99 MB / 0.8268 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.7656, allocations: 59.97 kB / 0.8268 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007276/0.7663, allocations: 0.6334 MB / 0.8275 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.032e-05/0.7664, allocations: 37.7 kB / 0.8275 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.7667, allocations: 432.1 kB / 0.8279 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/0.767, allocations: 264.2 kB / 0.8282 GB, free: 13 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.7672, allocations: 118.3 kB / 0.8283 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.7674, allocations: 386.7 kB / 0.8286 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004584/0.7678, allocations: 273.2 kB / 0.8289 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/0.7683, allocations: 365 kB / 0.8293 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009873/0.7693, allocations: 0.6586 MB / 0.8299 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.7693, allocations: 1 kB / 0.8299 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001292/0.7706, allocations: 0.793 MB / 0.8307 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.7707, allocations: 4 kB / 0.8307 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.7707, allocations: 8.531 kB / 0.8307 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.7707, allocations: 4 kB / 0.8307 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006409/0.7714, allocations: 144 kB / 0.8308 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.7714, allocations: 11.88 kB / 0.8308 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007036/0.7721, allocations: 51.52 kB / 0.8309 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-05/0.7722, allocations: 24 kB / 0.8309 GB, free: 10.12 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.000395/0.7726, allocations: 286.2 kB / 0.8312 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.7727, allocations: 86.97 kB / 0.8313 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.7741, allocations: 0.7959 MB / 0.832 GB, free: 8.941 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.7741, allocations: 8 kB / 0.8321 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7741, allocations: 0 / 0.8321 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001063/0.7752, allocations: 0.8269 MB / 0.8329 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/0.7779, allocations: 1.841 MB / 0.8347 GB, free: 6.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.423e-06/0.7779, allocations: 11.94 kB / 0.8347 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008159/0.7787, allocations: 167.7 kB / 0.8348 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.7787, allocations: 4 kB / 0.8348 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.671e-05/0.7788, allocations: 16 kB / 0.8348 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/0.7788, allocations: 7.984 kB / 0.8349 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7788, allocations: 0 / 0.8349 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.7806, allocations: 1.199 MB / 0.836 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003893/0.781, allocations: 243.9 kB / 0.8363 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.7811, allocations: 15.98 kB / 0.8363 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000624/0.7817, allocations: 23.19 kB / 0.8363 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.7818, allocations: 40.5 kB / 0.8363 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/0.7819, allocations: 27.98 kB / 0.8364 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005589/0.7825, allocations: 451 kB / 0.8368 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7825, allocations: 0 / 0.8368 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009134/0.7834, allocations: 347.2 kB / 0.8371 GB, free: 3.605 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.002236/0.7856, allocations: 1.837 MB / 0.8389 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.7868, allocations: 0.6796 MB / 0.8396 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.7868, allocations: 0 / 0.8396 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005207/0.7874, allocations: 375 kB / 0.8399 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/0.7896, allocations: 0.5443 MB / 0.8405 GB, free: 196 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00987/0.7994, allocations: 6.941 MB / 0.8472 GB, free: 9.098 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007346/0.8002, allocations: 1.089 MB / 0.8483 GB, free: 7.984 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008861/0.8011, allocations: 230 kB / 0.8485 GB, free: 7.758 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005009/0.8016, allocations: 359.3 kB / 0.8489 GB, free: 7.406 MB / 0.67 GB Notification: Performance of SimCode: time 7.02e-07/0.8016, allocations: 3.938 kB / 0.8489 GB, free: 7.402 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3382/1.14, allocations: 25.17 MB / 0.8735 GB, free: 209.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.903/10.04, allocations: 11.78 kB / 0.8735 GB, free: 209.5 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)