Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.TrickleVent,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_TrickleVent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.TrickleVent,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_TrickleVent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.306/2.306, allocations: 387.1 MB / 399.7 MB, free: 9.438 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.00112/0.00112, allocations: 176.1 kB / 492.3 MB, free: 0.5938 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.661/1.661, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.000899/0.0008991, allocations: 90.59 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.262e-05/4.265e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3659, allocations: 142.4 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.852/6.218, allocations: 1.959 GB / 3.171 GB, free: 368.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/6.218, allocations: 88.86 kB / 3.172 GB, free: 368.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.964/8.183, allocations: 0.5762 GB / 3.748 GB, free: 215.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.784e-06/8.183, allocations: 4 kB / 3.748 GB, free: 215.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002579/8.183, allocations: 55.61 kB / 3.748 GB, free: 215.7 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.006892/8.19, allocations: 2.247 MB / 3.75 GB, free: 213.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.82e-05/8.19, allocations: 12.03 kB / 3.75 GB, free: 213.4 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001103/8.191, allocations: 245.2 kB / 3.75 GB, free: 213.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004598/8.196, allocations: 0.5473 MB / 3.751 GB, free: 212.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00458/8.2, allocations: 1.917 MB / 3.753 GB, free: 210.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/8.2, allocations: 135.5 kB / 3.753 GB, free: 210.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002629/8.201, allocations: 175.8 kB / 3.753 GB, free: 210.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003152/8.204, allocations: 1.902 MB / 3.755 GB, free: 208.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/8.204, allocations: 4 kB / 3.755 GB, free: 208.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/8.204, allocations: 72 kB / 3.755 GB, free: 208.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.883e-05/8.204, allocations: 63.31 kB / 3.755 GB, free: 208.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002531/8.207, allocations: 1.906 MB / 3.757 GB, free: 206.3 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.009627/8.216, allocations: 7.72 MB / 3.764 GB, free: 198.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/8.218, allocations: 1.5 MB / 3.766 GB, free: 196.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008386/8.219, allocations: 0.6846 MB / 3.767 GB, free: 196 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006591/8.22, allocations: 0.6375 MB / 3.767 GB, free: 195.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/8.221, allocations: 0.8725 MB / 3.768 GB, free: 194.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=142): time 4.138e-06/8.221, allocations: 0 / 3.768 GB, free: 194.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=142): time 0.003343/8.224, allocations: 1.551 MB / 3.77 GB, free: 192.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.086e-05/8.224, allocations: 278.3 kB / 3.77 GB, free: 192.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00246/8.227, allocations: 1.928 MB / 3.772 GB, free: 190.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/8.227, allocations: 57.7 kB / 3.772 GB, free: 190.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006054/8.228, allocations: 0.8586 MB / 3.773 GB, free: 189.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003698/8.228, allocations: 477 kB / 3.773 GB, free: 189.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/8.228, allocations: 24 kB / 3.773 GB, free: 189.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001014/8.228, allocations: 353.9 kB / 3.773 GB, free: 188.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006887/8.229, allocations: 0.4907 MB / 3.774 GB, free: 188.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007994/8.23, allocations: 0.681 MB / 3.775 GB, free: 187.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008396/8.23, allocations: 0.5851 MB / 3.775 GB, free: 187 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/8.23, allocations: 0 / 3.775 GB, free: 187 MB / 1.151 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002595/8.233, allocations: 1.583 MB / 3.777 GB, free: 185.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001337/8.233, allocations: 0.6471 MB / 3.777 GB, free: 184.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/8.233, allocations: 0 / 3.777 GB, free: 184.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007114/8.234, allocations: 142.4 kB / 3.777 GB, free: 184.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/8.235, allocations: 303.6 kB / 3.778 GB, free: 184.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002935/8.238, allocations: 4.21 MB / 3.782 GB, free: 179.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/8.24, allocations: 186.7 kB / 3.782 GB, free: 179.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/8.24, allocations: 67.97 kB / 3.782 GB, free: 179.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/8.24, allocations: 5.25 kB / 3.782 GB, free: 179.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002362/8.242, allocations: 1.392 MB / 3.783 GB, free: 177.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/8.243, allocations: 7.938 kB / 3.783 GB, free: 177.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006276/8.243, allocations: 142.5 kB / 3.784 GB, free: 177.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/8.244, allocations: 299.6 kB / 3.784 GB, free: 177.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002656/8.247, allocations: 4.224 MB / 3.788 GB, free: 172.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/8.249, allocations: 178.8 kB / 3.788 GB, free: 172.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/8.249, allocations: 59.97 kB / 3.788 GB, free: 172.6 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.0003491/8.249, allocations: 179.9 kB / 3.788 GB, free: 172.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/8.25, allocations: 185.8 kB / 3.789 GB, free: 172.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003476/8.253, allocations: 1.916 MB / 3.79 GB, free: 170.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/8.253, allocations: 16 kB / 3.79 GB, free: 170.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/8.253, allocations: 7.891 kB / 3.79 GB, free: 170.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002214/8.255, allocations: 1.502 MB / 3.792 GB, free: 168.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005837/8.261, allocations: 3.957 MB / 3.796 GB, free: 164.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/8.261, allocations: 0 / 3.796 GB, free: 164.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/8.262, allocations: 315.6 kB / 3.796 GB, free: 164.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006218/8.263, allocations: 146.5 kB / 3.796 GB, free: 164.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-05/8.263, allocations: 51.86 kB / 3.796 GB, free: 164.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002612/8.266, allocations: 4.214 MB / 3.8 GB, free: 159.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/8.266, allocations: 0 / 3.8 GB, free: 159.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003778/8.27, allocations: 2.555 MB / 3.803 GB, free: 157 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/8.271, allocations: 0.5997 MB / 3.803 GB, free: 156.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002597/8.271, allocations: 27.95 kB / 3.803 GB, free: 156.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/8.272, allocations: 151.9 kB / 3.804 GB, free: 156.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002005/8.273, allocations: 109.2 kB / 3.804 GB, free: 156.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/8.273, allocations: 75.95 kB / 3.804 GB, free: 156 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001799/8.275, allocations: 1.513 MB / 3.805 GB, free: 154.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.5e-07/8.275, allocations: 0 / 3.805 GB, free: 154.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00315/8.278, allocations: 1.329 MB / 3.807 GB, free: 153.2 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.006708/8.284, allocations: 4.96 MB / 3.811 GB, free: 148.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003506/8.288, allocations: 2.727 MB / 3.814 GB, free: 145.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/8.288, allocations: 448 / 3.814 GB, free: 145.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/8.289, allocations: 1.081 MB / 3.815 GB, free: 144.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003135/8.292, allocations: 0.6652 MB / 3.816 GB, free: 143.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007149/8.3, allocations: 3.723 MB / 3.819 GB, free: 140 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008168/8.3, allocations: 1.568 MB / 3.821 GB, free: 138.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003512/8.304, allocations: 1.063 MB / 3.822 GB, free: 137.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008899/8.305, allocations: 0.8195 MB / 3.823 GB, free: 136.5 MB / 1.151 GB Notification: Performance of SimCode: time 7.72e-07/8.305, allocations: 0 / 3.823 GB, free: 136.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/8.412, allocations: 81.4 MB / 3.902 GB, free: 55.44 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/8.412, allocations: 222.4 kB / 3.903 GB, free: 55.22 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.017/13.43, allocations: 4 kB / 3.903 GB, free: 55.21 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_TrickleVent_fmu --startTime=0 --stopTime=2.592e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_TrickleVent.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe 2>&1)