Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.TrickleVent,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_TrickleVent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.TrickleVent,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_TrickleVent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8133/0.8133, allocations: 133.6 MB / 141.6 MB, free: 2.883 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 221.5 MB / 395.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001064, allocations: 100.3 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.621e-05/2.583e-05, allocations: 0 / 0.5535 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.541/0.541, allocations: 82.3 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.084/5.625, allocations: 1.921 GB / 2.555 GB, free: 75.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/5.625, allocations: 87.58 kB / 2.555 GB, free: 75.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.189/7.814, allocations: 0.5684 GB / 3.124 GB, free: 32.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.834e-06/7.814, allocations: 0 / 3.124 GB, free: 32.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002773/7.814, allocations: 55.98 kB / 3.124 GB, free: 32.75 MB / 0.6823 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.005825/7.82, allocations: 2.252 MB / 3.126 GB, free: 30.44 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/7.82, allocations: 8.031 kB / 3.126 GB, free: 30.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003826/7.824, allocations: 0.5525 MB / 3.126 GB, free: 29.88 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003646/7.827, allocations: 1.917 MB / 3.128 GB, free: 27.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.906e-05/7.827, allocations: 60 kB / 3.128 GB, free: 27.86 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/7.828, allocations: 100 kB / 3.128 GB, free: 27.76 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002555/7.83, allocations: 1.802 MB / 3.13 GB, free: 25.95 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/7.833, allocations: 1.649 MB / 3.132 GB, free: 24.22 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.242e-05/7.833, allocations: 0 / 3.132 GB, free: 24.22 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/7.833, allocations: 7.984 kB / 3.132 GB, free: 24.21 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-05/7.833, allocations: 59.31 kB / 3.132 GB, free: 24.15 MB / 0.6823 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.01069/7.844, allocations: 7.373 MB / 3.139 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/7.845, allocations: 1.434 MB / 3.14 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007348/7.846, allocations: 0.6405 MB / 3.141 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006377/7.847, allocations: 0.6494 MB / 3.142 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/7.848, allocations: 0.823 MB / 3.142 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=142): time 2.925e-06/7.848, allocations: 0 / 3.142 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142): time 0.003287/7.851, allocations: 1.474 MB / 3.144 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.708e-05/7.851, allocations: 278.3 kB / 3.144 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002279/7.853, allocations: 1.726 MB / 3.146 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/7.854, allocations: 29.7 kB / 3.146 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006312/7.854, allocations: 0.8614 MB / 3.147 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003426/7.855, allocations: 461 kB / 3.147 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.932e-05/7.855, allocations: 0 / 3.147 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.048e-05/7.855, allocations: 353.9 kB / 3.147 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006342/7.855, allocations: 482.5 kB / 3.148 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007717/7.856, allocations: 0.6475 MB / 3.149 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009537/7.857, allocations: 0.5684 MB / 3.149 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/7.857, allocations: 0 / 3.149 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002674/7.86, allocations: 1.489 MB / 3.151 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001536/7.86, allocations: 0.6335 MB / 3.151 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/7.86, allocations: 3.953 kB / 3.151 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000731/7.861, allocations: 146.4 kB / 3.151 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/7.862, allocations: 315.5 kB / 3.152 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4689/8.331, allocations: 4.019 MB / 3.156 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/8.333, allocations: 145.4 kB / 3.156 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/8.333, allocations: 60.77 kB / 3.156 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/8.333, allocations: 4.906 kB / 3.156 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003181/8.337, allocations: 1.292 MB / 3.157 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/8.337, allocations: 1.625 kB / 3.157 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007319/8.337, allocations: 140.4 kB / 3.157 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/8.339, allocations: 301 kB / 3.157 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/8.342, allocations: 4.031 MB / 3.161 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/8.344, allocations: 129.6 kB / 3.162 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/8.344, allocations: 63.12 kB / 3.162 GB, free: 115.8 MB / 0.6823 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.0004333/8.344, allocations: 133.2 kB / 3.162 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003468/8.348, allocations: 1.443 MB / 3.163 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003865/8.348, allocations: 174.6 kB / 3.163 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003802/8.352, allocations: 1.801 MB / 3.165 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/8.352, allocations: 15.22 kB / 3.165 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/8.352, allocations: 0 / 3.165 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002278/8.354, allocations: 1.419 MB / 3.166 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005704/8.36, allocations: 3.642 MB / 3.17 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/8.36, allocations: 3.953 kB / 3.17 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/8.361, allocations: 318.1 kB / 3.17 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006075/8.362, allocations: 138.5 kB / 3.17 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.685e-05/8.362, allocations: 26.66 kB / 3.17 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002752/8.365, allocations: 4.06 MB / 3.174 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/8.365, allocations: 0 / 3.174 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004244/8.369, allocations: 2.456 MB / 3.177 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/8.371, allocations: 0.587 MB / 3.177 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003023/8.371, allocations: 9.453 kB / 3.177 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/8.372, allocations: 113.5 kB / 3.178 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002396/8.373, allocations: 106.9 kB / 3.178 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/8.373, allocations: 69.33 kB / 3.178 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002004/8.375, allocations: 1.347 MB / 3.179 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.2e-07/8.375, allocations: 2.906 kB / 3.179 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003965/8.379, allocations: 1.245 MB / 3.18 GB, free: 110.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.U,room.dynBal.m,room.dynBal.mXi[1],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.007521/8.386, allocations: 5.004 MB / 3.185 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003881/8.39, allocations: 2.601 MB / 3.188 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/8.39, allocations: 448 / 3.188 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/8.392, allocations: 1.026 MB / 3.189 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003217/8.395, allocations: 0.5862 MB / 3.189 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0074/8.402, allocations: 3.578 MB / 3.193 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009123/8.403, allocations: 1.565 MB / 3.194 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003679/8.407, allocations: 1.033 MB / 3.195 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000934/8.408, allocations: 0.8226 MB / 3.196 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.042e-06/8.408, allocations: 2.25 kB / 3.196 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/8.515, allocations: 61.78 MB / 3.256 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/8.515, allocations: 154.5 kB / 3.257 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.508/13.02, allocations: 3.938 kB / 3.257 GB, free: 104.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_TrickleVent_fmu --startTime=0 --stopTime=2.592e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_TrickleVent.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe 2>&1)