Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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(Buildings.Airflow.Multizone.Examples.TrickleVent,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_TrickleVent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.TrickleVent,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_TrickleVent",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.001339/0.001339, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001634/0.001634, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.587/2.587, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.589/4.589, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006493/0.0006494, allocations: 15.98 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628/1.629, allocations: 146.8 MB / 0.9809 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.TrickleVent): time 0.3898/2.019, allocations: 156.1 MB / 1.133 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.05667/2.076, allocations: 14.26 MB / 1.147 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004812/2.08, allocations: 39.75 kB / 1.147 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004341/2.085, allocations: 0.5361 MB / 1.148 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01522/2.1, allocations: 2.236 MB / 1.15 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.009332/2.11, allocations: 1.42 MB / 1.151 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01027/2.12, allocations: 2.213 MB / 1.153 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006368/2.126, allocations: 1.569 MB / 1.155 GB, free: 3.504 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006554/2.133, allocations: 1.144 MB / 1.156 GB, free: 2.355 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004056/2.137, allocations: 0.8437 MB / 1.157 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0009718/2.138, allocations: 67.94 kB / 1.157 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007918/2.146, allocations: 1.318 MB / 1.158 GB, free: 124 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001927/2.148, allocations: 0.5372 MB / 1.159 GB, free: 15.58 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001951/2.15, allocations: 448.4 kB / 1.159 GB, free: 15.14 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0108/2.161, allocations: 2.81 MB / 1.162 GB, free: 12.32 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/2.161, allocations: 3.938 kB / 1.162 GB, free: 12.32 MB / 0.92 GB Notification: Performance of FrontEnd: time 6.542e-06/2.161, allocations: 0 / 1.162 GB, free: 12.32 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002007/2.161, allocations: 0 / 1.162 GB, free: 12.32 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 454 * Number of variables: 454 Notification: Performance of Generate backend data structure: time 0.01166/2.173, allocations: 2.479 MB / 1.164 GB, free: 9.762 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 8.665e-05/2.173, allocations: 12.03 kB / 1.164 GB, free: 9.75 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001494/2.174, allocations: 261.5 kB / 1.165 GB, free: 9.484 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006393/2.181, allocations: 0.5706 MB / 1.165 GB, free: 8.91 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009207/2.19, allocations: 2.707 MB / 1.168 GB, free: 6.152 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002355/2.19, allocations: 131.5 kB / 1.168 GB, free: 6.023 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007667/2.191, allocations: 172 kB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006887/2.198, allocations: 2.03 MB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.33e-05/2.198, allocations: 0 / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003426/2.199, allocations: 83.98 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001355/2.199, allocations: 71.41 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006969/2.206, allocations: 2.094 MB / 1.172 GB, free: 1.5 MB / 0.92 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.02689/2.233, allocations: 7.767 MB / 1.18 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005267/2.238, allocations: 1.54 MB / 1.181 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001197/2.239, allocations: 490.6 kB / 1.182 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002894/2.242, allocations: 0.9777 MB / 1.183 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=151): time 5.21e-06/2.242, allocations: 0 / 1.183 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of matching and sorting (n=151): time 0.01056/2.253, allocations: 2.661 MB / 1.185 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003004/2.253, allocations: 222.9 kB / 1.186 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007781/2.261, allocations: 3.103 MB / 1.189 GB, free: 148 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0007177/2.262, allocations: 65.69 kB / 1.189 GB, free: 76 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001972/2.264, allocations: 0.8823 MB / 1.19 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001445/2.265, allocations: 0.4889 MB / 1.19 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/2.265, allocations: 28 kB / 1.19 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0004224/2.266, allocations: 361.9 kB / 1.19 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001887/2.268, allocations: 0.5739 MB / 1.191 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002203/2.27, allocations: 0.7565 MB / 1.192 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00232/2.272, allocations: 0.6506 MB / 1.192 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.019e-05/2.272, allocations: 4 kB / 1.192 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006758/2.279, allocations: 1.747 MB / 1.194 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.001129/2.28, allocations: 0.7309 MB / 1.195 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/2.28, allocations: 7.984 kB / 1.195 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/2.282, allocations: 146.4 kB / 1.195 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002645/2.284, allocations: 311.6 kB / 1.195 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007625/2.292, allocations: 4.25 MB / 1.199 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003489/2.296, allocations: 206.8 kB / 1.2 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004735/2.296, allocations: 47.97 kB / 1.2 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/2.296, allocations: 8 kB / 1.2 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005314/2.301, allocations: 1.536 MB / 1.201 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/2.301, allocations: 4 kB / 1.201 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009481/2.302, allocations: 146.9 kB / 1.201 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/2.305, allocations: 307.6 kB / 1.202 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007399/2.312, allocations: 4.242 MB / 1.206 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003751/2.316, allocations: 203.3 kB / 1.206 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004645/2.316, allocations: 59.91 kB / 1.206 GB, free: 13.43 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002705/2.319, allocations: 0.5401 MB / 1.207 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001373/2.32, allocations: 197.6 kB / 1.207 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007566/2.328, allocations: 2.05 MB / 1.209 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.621e-05/2.328, allocations: 19.95 kB / 1.209 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/2.328, allocations: 0 / 1.209 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005493/2.334, allocations: 1.677 MB / 1.21 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01458/2.348, allocations: 3.78 MB / 1.214 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/2.348, allocations: 0 / 1.214 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/2.351, allocations: 327.7 kB / 1.214 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/2.352, allocations: 142.4 kB / 1.215 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002799/2.352, allocations: 43.97 kB / 1.215 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00721/2.359, allocations: 4.257 MB / 1.219 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.467e-06/2.359, allocations: 4.094 kB / 1.219 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01171/2.371, allocations: 2.905 MB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003391/2.375, allocations: 0.4981 MB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001333/2.376, allocations: 35.98 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003411/2.379, allocations: 160.1 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000833/2.38, allocations: 121 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004999/2.381, allocations: 67.95 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.007048/2.388, allocations: 2.346 MB / 1.225 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.312e-06/2.388, allocations: 0 / 1.225 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.009586/2.398, allocations: 1.114 MB / 1.226 GB, free: 8.504 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (room.dynBal.medium.Xi[1],room.dynBal.U,room.dynBal.m,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.conTimMin.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01768/2.415, allocations: 4.413 MB / 1.23 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01049/2.426, allocations: 2.96 MB / 1.233 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.025e-05/2.426, allocations: 4.375 kB / 1.233 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004246/2.43, allocations: 1.187 MB / 1.234 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006729/2.437, allocations: 0.6614 MB / 1.235 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.296/3.733, allocations: 17.58 MB / 1.252 GB, free: 259 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003484/3.736, allocations: 1.59 MB / 1.254 GB, free: 258.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005544/3.742, allocations: 0.6033 MB / 1.254 GB, free: 258.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002959/3.745, allocations: 0.8779 MB / 1.255 GB, free: 258.1 MB / 0.9981 GB Notification: Performance of SimCode: time 2.916e-06/3.745, allocations: 0 / 1.255 GB, free: 258.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1631/3.908, allocations: 51.92 MB / 1.306 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003925/3.909, allocations: 266.5 kB / 1.306 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.497/10.41, allocations: 4.062 kB / 1.306 GB, free: 219.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_TrickleVent_fmu --startTime=0 --stopTime=2.592e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_TrickleVent.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe 2>&1) Environment - environmentSimulation: