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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.658/2.658, allocations: 393.5 MB / 408.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 183.5 kB / 0.4901 GB, free: 2.242 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 223.1 MB / 0.7992 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 109.1 kB / 0.9396 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004479/0.0004479, allocations: 10.28 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3081, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.141/5.449, allocations: 1.96 GB / 3.189 GB, free: 332.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/5.449, allocations: 96.33 kB / 3.189 GB, free: 332.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.009/7.458, allocations: 0.5769 GB / 3.766 GB, free: 283.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 7.394e-06/7.458, allocations: 3.281 kB / 3.766 GB, free: 283.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004587/7.459, allocations: 63.41 kB / 3.766 GB, free: 283.7 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.01132/7.47, allocations: 2.679 MB / 3.769 GB, free: 282.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/7.47, allocations: 7.766 kB / 3.769 GB, free: 282.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001158/7.471, allocations: 251.6 kB / 3.769 GB, free: 282.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004361/7.476, allocations: 0.5577 MB / 3.77 GB, free: 282.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006308/7.482, allocations: 1.931 MB / 3.772 GB, free: 281.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/7.482, allocations: 131.7 kB / 3.772 GB, free: 281.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008459/7.483, allocations: 173.7 kB / 3.772 GB, free: 281.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006177/7.489, allocations: 1.954 MB / 3.774 GB, free: 281.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.343e-05/7.489, allocations: 7.719 kB / 3.774 GB, free: 281.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004334/7.49, allocations: 78.5 kB / 3.774 GB, free: 281.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.619e-05/7.49, allocations: 63.67 kB / 3.774 GB, free: 281.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004097/7.494, allocations: 2.014 MB / 3.776 GB, free: 281.5 MB / 1.167 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.01439/7.508, allocations: 7.726 MB / 3.783 GB, free: 277.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002766/7.511, allocations: 1.593 MB / 3.785 GB, free: 276.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007496/7.512, allocations: 0.6492 MB / 3.786 GB, free: 275.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001698/7.514, allocations: 0.9246 MB / 3.786 GB, free: 275.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=142): time 5.761e-06/7.514, allocations: 3.938 kB / 3.786 GB, free: 275.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=142): time 0.00645/7.52, allocations: 2.558 MB / 3.789 GB, free: 273.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/7.52, allocations: 281.1 kB / 3.789 GB, free: 273.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004023/7.524, allocations: 1.941 MB / 3.791 GB, free: 272.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003278/7.525, allocations: 59.98 kB / 3.791 GB, free: 272.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001002/7.526, allocations: 0.8577 MB / 3.792 GB, free: 271.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005926/7.526, allocations: 481.3 kB / 3.792 GB, free: 271.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/7.527, allocations: 23 kB / 3.792 GB, free: 271.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001326/7.527, allocations: 348.3 kB / 3.793 GB, free: 271 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/7.528, allocations: 0.545 MB / 3.793 GB, free: 270.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/7.529, allocations: 0.7227 MB / 3.794 GB, free: 270.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/7.53, allocations: 0.6367 MB / 3.795 GB, free: 269.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/7.53, allocations: 0 / 3.795 GB, free: 269.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003993/7.534, allocations: 1.675 MB / 3.796 GB, free: 269.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002008/7.535, allocations: 0.641 MB / 3.797 GB, free: 268.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/7.535, allocations: 6.406 kB / 3.797 GB, free: 268.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008351/7.535, allocations: 147.9 kB / 3.797 GB, free: 268.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/7.537, allocations: 304.5 kB / 3.797 GB, free: 268.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003488/7.54, allocations: 4.261 MB / 3.802 GB, free: 263.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/7.543, allocations: 188.3 kB / 3.802 GB, free: 263.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002487/7.543, allocations: 59.97 kB / 3.802 GB, free: 263.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/7.543, allocations: 4.875 kB / 3.802 GB, free: 263.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003363/7.546, allocations: 1.473 MB / 3.803 GB, free: 262 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/7.546, allocations: 4 kB / 3.803 GB, free: 262 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007187/7.547, allocations: 140.6 kB / 3.803 GB, free: 261.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/7.548, allocations: 299.6 kB / 3.804 GB, free: 261.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003321/7.552, allocations: 4.245 MB / 3.808 GB, free: 256.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/7.554, allocations: 182 kB / 3.808 GB, free: 256.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002386/7.554, allocations: 63.97 kB / 3.808 GB, free: 256.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 146 * 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.001608/7.556, allocations: 0.5239 MB / 3.809 GB, free: 256.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008564/7.557, allocations: 185.8 kB / 3.809 GB, free: 256 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004926/7.562, allocations: 2.014 MB / 3.811 GB, free: 253.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/7.562, allocations: 16 kB / 3.811 GB, free: 253.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/7.562, allocations: 0 / 3.811 GB, free: 253.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002962/7.565, allocations: 1.605 MB / 3.812 GB, free: 252.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009223/7.574, allocations: 4.051 MB / 3.816 GB, free: 248.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/7.574, allocations: 0 / 3.816 GB, free: 248.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/7.575, allocations: 315 kB / 3.817 GB, free: 247.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007122/7.576, allocations: 145.2 kB / 3.817 GB, free: 247.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/7.576, allocations: 43.97 kB / 3.817 GB, free: 247.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003271/7.58, allocations: 4.265 MB / 3.821 GB, free: 243.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/7.58, allocations: 0 / 3.821 GB, free: 243.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005592/7.585, allocations: 2.695 MB / 3.824 GB, free: 240.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/7.587, allocations: 0.6024 MB / 3.824 GB, free: 239.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007473/7.588, allocations: 24 kB / 3.824 GB, free: 239.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002088/7.59, allocations: 148.7 kB / 3.824 GB, free: 239.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002727/7.59, allocations: 109.1 kB / 3.824 GB, free: 239.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002055/7.591, allocations: 71.95 kB / 3.824 GB, free: 239.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003089/7.594, allocations: 1.537 MB / 3.826 GB, free: 237.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.7e-07/7.594, allocations: 3.938 kB / 3.826 GB, free: 237.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006072/7.6, allocations: 1.331 MB / 3.827 GB, free: 236.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0109/7.611, allocations: 5.146 MB / 3.832 GB, free: 232 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005798/7.617, allocations: 2.807 MB / 3.835 GB, free: 229.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/7.617, allocations: 448 / 3.835 GB, free: 229.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00197/7.619, allocations: 1.134 MB / 3.836 GB, free: 227.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003981/7.623, allocations: 0.6569 MB / 3.837 GB, free: 227.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02894/7.652, allocations: 14.66 MB / 3.851 GB, free: 212.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/7.653, allocations: 1.556 MB / 3.853 GB, free: 210.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003684/7.657, allocations: 0.7062 MB / 3.853 GB, free: 209.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001787/7.659, allocations: 0.8937 MB / 3.854 GB, free: 208.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.452e-06/7.659, allocations: 3.938 kB / 3.854 GB, free: 208.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1201/7.779, allocations: 74.7 MB / 3.927 GB, free: 135.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/7.779, allocations: 258.7 kB / 3.927 GB, free: 134.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.983/12.76, allocations: 0 / 3.927 GB, free: 134.9 MB / 1.167 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)