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.438/2.438, allocations: 390.5 MB / 398 MB, free: 10.98 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.001161/0.001161, allocations: 180.9 kB / 491.2 MB, free: 1.566 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.842/1.842, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.001035/0.001035, allocations: 101.5 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.134e-05/2.135e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3784, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.472/6.85, allocations: 1.959 GB / 3.172 GB, free: 367.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000339/6.85, allocations: 88.45 kB / 3.172 GB, free: 367.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.081/8.932, allocations: 0.57 GB / 3.742 GB, free: 219 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.215e-06/8.932, allocations: 0 / 3.742 GB, free: 219 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002942/8.932, allocations: 55.84 kB / 3.742 GB, free: 219 MB / 1.151 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.006318/8.938, allocations: 2.257 MB / 3.744 GB, free: 216.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/8.938, allocations: 8.031 kB / 3.744 GB, free: 216.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004144/8.942, allocations: 0.5434 MB / 3.744 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004036/8.947, allocations: 1.919 MB / 3.746 GB, free: 214.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.946e-05/8.947, allocations: 56 kB / 3.746 GB, free: 214.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004639/8.947, allocations: 106.1 kB / 3.746 GB, free: 214.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003349/8.951, allocations: 1.802 MB / 3.748 GB, free: 212.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003152/8.954, allocations: 1.653 MB / 3.75 GB, free: 210.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.581e-05/8.954, allocations: 3.938 kB / 3.75 GB, free: 210.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002068/8.954, allocations: 4 kB / 3.75 GB, free: 210.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/8.954, allocations: 59.31 kB / 3.75 GB, free: 210.4 MB / 1.151 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.01086/8.965, allocations: 7.375 MB / 3.757 GB, free: 202.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/8.967, allocations: 1.447 MB / 3.759 GB, free: 201.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007631/8.967, allocations: 0.6405 MB / 3.759 GB, free: 200.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006259/8.968, allocations: 0.6398 MB / 3.76 GB, free: 199.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/8.969, allocations: 0.8269 MB / 3.761 GB, free: 199.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=142): time 3.517e-06/8.969, allocations: 0 / 3.761 GB, free: 199.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=142): time 0.003514/8.973, allocations: 1.477 MB / 3.762 GB, free: 197.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.005e-05/8.973, allocations: 278.3 kB / 3.762 GB, free: 197.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003097/8.976, allocations: 1.734 MB / 3.764 GB, free: 195.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003094/8.976, allocations: 29.7 kB / 3.764 GB, free: 195.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009357/8.977, allocations: 0.8575 MB / 3.765 GB, free: 194.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006008/8.978, allocations: 464.9 kB / 3.765 GB, free: 194.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.776e-05/8.978, allocations: 0 / 3.765 GB, free: 194.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000125/8.978, allocations: 353.9 kB / 3.766 GB, free: 193.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007554/8.979, allocations: 478.5 kB / 3.766 GB, free: 193.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008659/8.98, allocations: 0.6466 MB / 3.767 GB, free: 192.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/8.981, allocations: 0.5723 MB / 3.767 GB, free: 192.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/8.981, allocations: 0 / 3.767 GB, free: 192.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003283/8.984, allocations: 1.481 MB / 3.769 GB, free: 190.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000194/8.984, allocations: 0.6458 MB / 3.769 GB, free: 189.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/8.984, allocations: 4 kB / 3.769 GB, free: 189.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008162/8.985, allocations: 142.5 kB / 3.769 GB, free: 189.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/8.987, allocations: 299.6 kB / 3.77 GB, free: 189.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002923/8.99, allocations: 4.037 MB / 3.774 GB, free: 185 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/8.991, allocations: 135.1 kB / 3.774 GB, free: 184.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/8.992, allocations: 59.97 kB / 3.774 GB, free: 184.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/8.992, allocations: 8 kB / 3.774 GB, free: 184.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002442/8.994, allocations: 1.29 MB / 3.775 GB, free: 183.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/8.994, allocations: 7.938 kB / 3.775 GB, free: 183.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006461/8.995, allocations: 142.5 kB / 3.775 GB, free: 183.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/8.996, allocations: 295.6 kB / 3.776 GB, free: 183.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/8.999, allocations: 4.039 MB / 3.78 GB, free: 178.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/9, allocations: 131.1 kB / 3.78 GB, free: 178.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/9.001, allocations: 59.97 kB / 3.78 GB, free: 178.5 MB / 1.151 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.0004101/9.001, allocations: 148 kB / 3.78 GB, free: 178.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002848/9.004, allocations: 1.446 MB / 3.781 GB, free: 176.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005096/9.004, allocations: 169.9 kB / 3.781 GB, free: 176.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003541/9.008, allocations: 1.802 MB / 3.783 GB, free: 174.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/9.008, allocations: 19.94 kB / 3.783 GB, free: 174.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/9.008, allocations: 0 / 3.783 GB, free: 174.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002411/9.01, allocations: 1.427 MB / 3.785 GB, free: 173.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008412/9.019, allocations: 3.628 MB / 3.788 GB, free: 169.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/9.019, allocations: 7.938 kB / 3.788 GB, free: 169.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001481/9.02, allocations: 311.6 kB / 3.788 GB, free: 169.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007416/9.021, allocations: 138.5 kB / 3.789 GB, free: 169.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/9.021, allocations: 23.98 kB / 3.789 GB, free: 169.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003267/9.025, allocations: 4.065 MB / 3.793 GB, free: 164.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/9.025, allocations: 0 / 3.793 GB, free: 164.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00437/9.029, allocations: 2.441 MB / 3.795 GB, free: 162.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/9.03, allocations: 0.5843 MB / 3.796 GB, free: 161.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005917/9.031, allocations: 3.953 kB / 3.796 GB, free: 161.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001861/9.033, allocations: 115.7 kB / 3.796 GB, free: 161.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002511/9.033, allocations: 105.2 kB / 3.796 GB, free: 161.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/9.033, allocations: 71.97 kB / 3.796 GB, free: 161.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002117/9.036, allocations: 1.345 MB / 3.797 GB, free: 160.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.11e-07/9.036, allocations: 0 / 3.797 GB, free: 160.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004671/9.04, allocations: 1.245 MB / 3.798 GB, free: 158.9 MB / 1.151 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.00835/9.049, allocations: 4.982 MB / 3.803 GB, free: 154.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003965/9.053, allocations: 2.604 MB / 3.806 GB, free: 151.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/9.053, allocations: 448 / 3.806 GB, free: 151.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001344/9.054, allocations: 1.029 MB / 3.807 GB, free: 150.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003537/9.058, allocations: 0.5953 MB / 3.807 GB, free: 149.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009392/9.067, allocations: 3.592 MB / 3.811 GB, free: 146.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/9.068, allocations: 1.559 MB / 3.812 GB, free: 144.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.004338/9.073, allocations: 1.035 MB / 3.813 GB, free: 143.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/9.074, allocations: 0.8195 MB / 3.814 GB, free: 142.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.082e-06/9.074, allocations: 0 / 3.814 GB, free: 142.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1091/9.183, allocations: 61.75 MB / 3.874 GB, free: 81.29 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/9.183, allocations: 180.9 kB / 3.875 GB, free: 81.09 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.392/13.58, allocations: 4 kB / 3.875 GB, free: 81.08 MB / 1.151 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)