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.475/2.475, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.002101/0.002102, allocations: 172.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.812/1.812, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.001173/0.001173, allocations: 91.89 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.892e-05/4.919e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.34, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.891/6.232, allocations: 1.96 GB / 3.179 GB, free: 352.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/6.232, allocations: 87.95 kB / 3.179 GB, free: 352.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.841/8.073, allocations: 0.5762 GB / 3.755 GB, free: 214.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.503e-06/8.073, allocations: 0 / 3.755 GB, free: 214.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002319/8.073, allocations: 52 kB / 3.755 GB, free: 214.3 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.004895/8.078, allocations: 2.261 MB / 3.757 GB, free: 212 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/8.078, allocations: 12.02 kB / 3.757 GB, free: 212 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005397/8.079, allocations: 245.2 kB / 3.757 GB, free: 211.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003629/8.082, allocations: 0.5473 MB / 3.758 GB, free: 211.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003777/8.086, allocations: 1.909 MB / 3.76 GB, free: 209.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.226e-05/8.086, allocations: 139.3 kB / 3.76 GB, free: 209.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003857/8.087, allocations: 177.8 kB / 3.76 GB, free: 208.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003404/8.09, allocations: 1.902 MB / 3.762 GB, free: 206.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.421e-05/8.09, allocations: 0 / 3.762 GB, free: 206.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000213/8.09, allocations: 76 kB / 3.762 GB, free: 206.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.646e-05/8.09, allocations: 63.31 kB / 3.762 GB, free: 206.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002776/8.093, allocations: 1.914 MB / 3.764 GB, free: 204.9 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.01033/8.104, allocations: 7.719 MB / 3.772 GB, free: 196.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/8.105, allocations: 1.496 MB / 3.773 GB, free: 195.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008339/8.106, allocations: 0.6835 MB / 3.774 GB, free: 194.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006636/8.107, allocations: 0.6338 MB / 3.774 GB, free: 193.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001166/8.108, allocations: 0.8725 MB / 3.775 GB, free: 192.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=142): time 3.838e-06/8.108, allocations: 0 / 3.775 GB, free: 192.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=142): time 0.003195/8.111, allocations: 1.555 MB / 3.777 GB, free: 191.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/8.111, allocations: 274.3 kB / 3.777 GB, free: 191 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002275/8.114, allocations: 1.932 MB / 3.779 GB, free: 189.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/8.114, allocations: 53.7 kB / 3.779 GB, free: 189 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005259/8.114, allocations: 0.8509 MB / 3.78 GB, free: 188.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/8.115, allocations: 484.9 kB / 3.78 GB, free: 187.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-05/8.115, allocations: 24 kB / 3.78 GB, free: 187.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.701e-05/8.115, allocations: 353.9 kB / 3.781 GB, free: 187.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006824/8.116, allocations: 0.4946 MB / 3.781 GB, free: 186.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000768/8.116, allocations: 0.6765 MB / 3.782 GB, free: 186.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007847/8.117, allocations: 0.5967 MB / 3.782 GB, free: 185.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/8.117, allocations: 0 / 3.782 GB, free: 185.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002684/8.12, allocations: 1.575 MB / 3.784 GB, free: 183.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/8.12, allocations: 0.6354 MB / 3.784 GB, free: 183.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/8.12, allocations: 4 kB / 3.784 GB, free: 183.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007298/8.121, allocations: 146.4 kB / 3.785 GB, free: 183.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/8.122, allocations: 295.6 kB / 3.785 GB, free: 182.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/8.125, allocations: 4.228 MB / 3.789 GB, free: 178.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/8.126, allocations: 186.7 kB / 3.789 GB, free: 177.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/8.127, allocations: 63.94 kB / 3.789 GB, free: 177.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/8.127, allocations: 4.094 kB / 3.789 GB, free: 177.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002389/8.129, allocations: 1.4 MB / 3.791 GB, free: 176.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/8.129, allocations: 0 / 3.791 GB, free: 176.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006526/8.13, allocations: 146.5 kB / 3.791 GB, free: 176.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/8.131, allocations: 303.6 kB / 3.791 GB, free: 176 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002615/8.134, allocations: 4.206 MB / 3.795 GB, free: 171.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/8.135, allocations: 182.7 kB / 3.795 GB, free: 171.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/8.135, allocations: 67.97 kB / 3.795 GB, free: 171.2 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 () * 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.0003139/8.136, allocations: 174.4 kB / 3.796 GB, free: 171 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003278/8.136, allocations: 189.7 kB / 3.796 GB, free: 170.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003525/8.14, allocations: 1.924 MB / 3.798 GB, free: 168.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/8.14, allocations: 12 kB / 3.798 GB, free: 168.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/8.14, allocations: 4 kB / 3.798 GB, free: 168.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002218/8.142, allocations: 1.509 MB / 3.799 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005944/8.148, allocations: 3.947 MB / 3.803 GB, free: 163.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/8.148, allocations: 3.938 kB / 3.803 GB, free: 163.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/8.149, allocations: 315.6 kB / 3.803 GB, free: 163 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006282/8.15, allocations: 146.4 kB / 3.803 GB, free: 162.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/8.15, allocations: 43.97 kB / 3.803 GB, free: 162.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002748/8.153, allocations: 4.226 MB / 3.808 GB, free: 158.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/8.153, allocations: 0 / 3.808 GB, free: 158.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00382/8.157, allocations: 2.547 MB / 3.81 GB, free: 155.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/8.158, allocations: 0.6036 MB / 3.811 GB, free: 154.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002838/8.158, allocations: 32 kB / 3.811 GB, free: 154.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/8.159, allocations: 143.7 kB / 3.811 GB, free: 154.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/8.16, allocations: 109.2 kB / 3.811 GB, free: 154.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/8.16, allocations: 67.97 kB / 3.811 GB, free: 154.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001989/8.162, allocations: 1.521 MB / 3.812 GB, free: 153.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.31e-07/8.162, allocations: 0 / 3.812 GB, free: 153.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004035/8.166, allocations: 1.321 MB / 3.814 GB, free: 151.8 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) * 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.00726/8.173, allocations: 4.958 MB / 3.819 GB, free: 146.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003706/8.177, allocations: 2.735 MB / 3.821 GB, free: 144 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/8.177, allocations: 8.438 kB / 3.821 GB, free: 144 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/8.178, allocations: 1.081 MB / 3.822 GB, free: 142.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003276/8.181, allocations: 0.6504 MB / 3.823 GB, free: 142.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008322/8.19, allocations: 3.714 MB / 3.827 GB, free: 138.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/8.191, allocations: 1.567 MB / 3.828 GB, free: 136.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003878/8.195, allocations: 1.067 MB / 3.829 GB, free: 135.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009645/8.196, allocations: 0.8195 MB / 3.83 GB, free: 135 MB / 1.167 GB Notification: Performance of SimCode: time 1.152e-06/8.196, allocations: 0 / 3.83 GB, free: 135 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1189/8.315, allocations: 81.4 MB / 3.909 GB, free: 53.98 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002451/8.315, allocations: 232.3 kB / 3.91 GB, free: 53.71 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.108/13.42, allocations: 0 / 3.91 GB, free: 53.71 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)