Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_IDEAS_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.0007609/0.0007611, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005239/0.00524, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.23/1.23, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7205/0.7205, allocations: 132.3 MB / 423.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003586, allocations: 8 kB / 0.5041 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4297, allocations: 81.57 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.2265/0.6562, allocations: 197.1 MB / 0.7762 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01232/0.6686, allocations: 7.404 MB / 0.7834 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.6699, allocations: 31.81 kB / 0.7835 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.6717, allocations: 0.5986 MB / 0.7841 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006543/0.6782, allocations: 2.257 MB / 0.7863 GB, free: 344 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0028/0.6811, allocations: 1.125 MB / 0.7874 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004082/0.6851, allocations: 4.149 MB / 0.7914 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009336/0.6861, allocations: 0.7818 MB / 0.7922 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.6873, allocations: 0.8596 MB / 0.793 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.689, allocations: 0.9623 MB / 0.7939 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.6891, allocations: 48 kB / 0.794 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003904/0.693, allocations: 2.482 MB / 0.7964 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003711/0.6934, allocations: 390.7 kB / 0.7968 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006099/0.694, allocations: 0.6043 MB / 0.7974 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003132/0.6971, allocations: 2.477 MB / 0.7998 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.6971, allocations: 0 / 0.7998 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6972, allocations: 0 / 0.7998 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.6972, allocations: 0 / 0.7998 GB, free: 2.406 MB / 0.6231 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.002547/0.6997, allocations: 1.406 MB / 0.8012 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.6998, allocations: 8.031 kB / 0.8012 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001552/0.6999, allocations: 139.2 kB / 0.8013 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002276/0.7022, allocations: 378.2 kB / 0.8017 GB, free: 436 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.7034, allocations: 0.8161 MB / 0.8025 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/0.7034, allocations: 58 kB / 0.8025 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.7036, allocations: 91.89 kB / 0.8026 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.7051, allocations: 1.042 MB / 0.8036 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.7051, allocations: 3.984 kB / 0.8036 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.127e-05/0.7052, allocations: 39.98 kB / 0.8037 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-05/0.7053, allocations: 41.98 kB / 0.8037 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.7067, allocations: 0.8822 MB / 0.8046 GB, free: 13.38 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.004311/0.711, allocations: 4.28 MB / 0.8088 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009861/0.712, allocations: 0.6918 MB / 0.8094 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007007/0.7127, allocations: 447.6 kB / 0.8099 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005725/0.7133, allocations: 0.6771 MB / 0.8105 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.7133, allocations: 39.12 kB / 0.8106 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 2.104e-06/0.7133, allocations: 4 kB / 0.8106 GB, free: 6.727 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.001704/0.715, allocations: 1.002 MB / 0.8115 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.7151, allocations: 55.97 kB / 0.8116 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006533/0.7157, allocations: 0.6373 MB / 0.8122 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/0.7158, allocations: 37.7 kB / 0.8122 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.7161, allocations: 432.1 kB / 0.8127 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.7163, allocations: 256.2 kB / 0.8129 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.961e-05/0.7163, allocations: 57.69 kB / 0.813 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.7165, allocations: 390.8 kB / 0.8133 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004323/0.7169, allocations: 273.2 kB / 0.8136 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004828/0.7174, allocations: 370.8 kB / 0.8139 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009351/0.7184, allocations: 0.6665 MB / 0.8146 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.7184, allocations: 4 kB / 0.8146 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00113/0.7195, allocations: 0.7853 MB / 0.8154 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.7195, allocations: 8 kB / 0.8154 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.7196, allocations: 3.984 kB / 0.8154 GB, free: 1.688 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.7196, allocations: 7.938 kB / 0.8154 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000582/0.7202, allocations: 148 kB / 0.8155 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.7202, allocations: 7.938 kB / 0.8155 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008451/0.721, allocations: 103.3 kB / 0.8156 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.7211, allocations: 24 kB / 0.8157 GB, free: 1.402 MB / 0.6387 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.0003514/0.7214, allocations: 289.6 kB / 0.8159 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.7216, allocations: 87.06 kB / 0.816 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.7229, allocations: 0.7919 MB / 0.8168 GB, free: 228 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.7229, allocations: 8 kB / 0.8168 GB, free: 220 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.7229, allocations: 0 / 0.8168 GB, free: 220 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.283/1.006, allocations: 0.8196 MB / 0.8176 GB, free: 220.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/1.009, allocations: 1.843 MB / 0.8194 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.009, allocations: 0.9375 kB / 0.8194 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008559/1.01, allocations: 170.3 kB / 0.8196 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/1.01, allocations: 1.906 kB / 0.8196 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.737e-05/1.01, allocations: 21.09 kB / 0.8196 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/1.01, allocations: 3.578 kB / 0.8196 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/1.01, allocations: 0 / 0.8196 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/1.012, allocations: 1.29 MB / 0.8208 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004885/1.013, allocations: 244.5 kB / 0.8211 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/1.013, allocations: 12.88 kB / 0.8211 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007791/1.013, allocations: 75.34 kB / 0.8212 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/1.014, allocations: 47.69 kB / 0.8212 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.663e-05/1.014, allocations: 22.14 kB / 0.8212 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006902/1.014, allocations: 458.9 kB / 0.8217 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.71e-07/1.014, allocations: 0.5312 kB / 0.8217 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001041/1.015, allocations: 334.3 kB / 0.822 GB, free: 218.8 MB / 0.6387 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 (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.002595/1.018, allocations: 1.93 MB / 0.8239 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001277/1.019, allocations: 0.6794 MB / 0.8245 GB, free: 217.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.019, allocations: 0 / 0.8245 GB, free: 217.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005698/1.02, allocations: 374.4 kB / 0.8249 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00271/1.023, allocations: 0.5201 MB / 0.8254 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/1.034, allocations: 7.677 MB / 0.8329 GB, free: 213 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006804/1.035, allocations: 1.091 MB / 0.834 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001196/1.036, allocations: 226.7 kB / 0.8342 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004907/1.037, allocations: 356.9 kB / 0.8345 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of SimCode: time 1.803e-06/1.037, allocations: 0 / 0.8345 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.517/1.554, allocations: 23.98 MB / 0.8579 GB, free: 195.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/1.554, allocations: 196 kB / 0.8581 GB, free: 195.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/3.746, allocations: 4 kB / 0.8581 GB, free: 195.3 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)