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.002218/0.002218, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7679/0.7679, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 221.3 MB / 400.4 MB, free: 5.852 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009479/0.0009479, allocations: 109 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.995e-05/6.008e-05, allocations: 3.688 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1745, allocations: 82.31 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.999/5.173, allocations: 1.922 GB / 2.562 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/5.173, allocations: 87.95 kB / 2.562 GB, free: 5.402 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.731/7.905, allocations: 0.5746 GB / 3.137 GB, free: 123 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.326e-06/7.905, allocations: 6.438 kB / 3.137 GB, free: 123 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000339/7.905, allocations: 51.69 kB / 3.137 GB, free: 123 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.00779/7.913, allocations: 2.248 MB / 3.139 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/7.913, allocations: 15.12 kB / 3.139 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009553/7.914, allocations: 246 kB / 3.139 GB, free: 122 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004413/7.919, allocations: 0.5457 MB / 3.14 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005209/7.924, allocations: 1.926 MB / 3.142 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/7.924, allocations: 127.8 kB / 3.142 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006717/7.925, allocations: 169.8 kB / 3.142 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004929/7.93, allocations: 1.895 MB / 3.144 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.026e-05/7.93, allocations: 9.062 kB / 3.144 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000243/7.93, allocations: 72.28 kB / 3.144 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.045e-05/7.93, allocations: 61.38 kB / 3.144 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003037/7.933, allocations: 1.907 MB / 3.146 GB, free: 121.3 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.01132/7.944, allocations: 7.717 MB / 3.154 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/7.946, allocations: 1.494 MB / 3.155 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008884/7.947, allocations: 0.6817 MB / 3.156 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006556/7.948, allocations: 0.6376 MB / 3.156 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001251/7.949, allocations: 0.8806 MB / 3.157 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=142): time 3.717e-06/7.949, allocations: 0 / 3.157 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142): time 0.003422/7.953, allocations: 1.553 MB / 3.159 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.834e-05/7.953, allocations: 276.3 kB / 3.159 GB, free: 117 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002799/7.956, allocations: 1.922 MB / 3.161 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000187/7.956, allocations: 55.73 kB / 3.161 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006953/7.956, allocations: 0.8551 MB / 3.162 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000416/7.957, allocations: 485 kB / 3.162 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.746e-05/7.957, allocations: 20.47 kB / 3.162 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001055/7.957, allocations: 358.3 kB / 3.163 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007697/7.958, allocations: 499.9 kB / 3.163 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009479/7.959, allocations: 0.6869 MB / 3.164 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008703/7.96, allocations: 0.5876 MB / 3.164 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/7.96, allocations: 0 / 3.164 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003039/7.963, allocations: 1.587 MB / 3.166 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001626/7.963, allocations: 0.6448 MB / 3.166 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/7.963, allocations: 3.844 kB / 3.166 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007543/7.964, allocations: 142.7 kB / 3.167 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/7.965, allocations: 299.1 kB / 3.167 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003254/7.968, allocations: 4.211 MB / 3.171 GB, free: 111 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/7.97, allocations: 187.1 kB / 3.171 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/7.971, allocations: 58.53 kB / 3.171 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/7.971, allocations: 2.625 kB / 3.171 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002798/7.973, allocations: 1.398 MB / 3.173 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/7.973, allocations: 7.422 kB / 3.173 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006992/7.974, allocations: 138.2 kB / 3.173 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/7.975, allocations: 298.6 kB / 3.173 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00304/7.978, allocations: 4.212 MB / 3.177 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/7.981, allocations: 174.7 kB / 3.177 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/7.981, allocations: 59.75 kB / 3.177 GB, free: 107 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.0004459/7.981, allocations: 177.6 kB / 3.177 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004906/7.982, allocations: 194.5 kB / 3.178 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003896/7.986, allocations: 1.932 MB / 3.18 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/7.986, allocations: 14.25 kB / 3.18 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/7.986, allocations: 0 / 3.18 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002409/7.988, allocations: 1.501 MB / 3.181 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006826/7.995, allocations: 3.949 MB / 3.185 GB, free: 106 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/7.995, allocations: 0 / 3.185 GB, free: 106 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/7.996, allocations: 321.2 kB / 3.185 GB, free: 106 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006525/7.997, allocations: 139.7 kB / 3.185 GB, free: 106 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/7.997, allocations: 41.42 kB / 3.185 GB, free: 106 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002978/8, allocations: 4.224 MB / 3.19 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/8, allocations: 0 / 3.19 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004492/8.005, allocations: 2.577 MB / 3.192 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001715/8.006, allocations: 0.6082 MB / 3.193 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003236/8.007, allocations: 25.91 kB / 3.193 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/8.008, allocations: 147.5 kB / 3.193 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/8.008, allocations: 99.39 kB / 3.193 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/8.008, allocations: 73.42 kB / 3.193 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00213/8.011, allocations: 1.517 MB / 3.194 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.4e-07/8.011, allocations: 0 / 3.194 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004184/8.015, allocations: 1.327 MB / 3.196 GB, free: 101.4 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.008044/8.023, allocations: 4.987 MB / 3.201 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003995/8.027, allocations: 2.72 MB / 3.203 GB, free: 99.43 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/8.027, allocations: 4.188 kB / 3.203 GB, free: 99.43 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001392/8.028, allocations: 1.077 MB / 3.204 GB, free: 99.09 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003575/8.032, allocations: 0.6698 MB / 3.205 GB, free: 99.07 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009133/8.041, allocations: 3.713 MB / 3.209 GB, free: 98.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/8.042, allocations: 1.561 MB / 3.21 GB, free: 97.46 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00409/8.046, allocations: 1.063 MB / 3.211 GB, free: 97.45 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/8.047, allocations: 0.817 MB / 3.212 GB, free: 97.44 MB / 0.6823 GB Notification: Performance of SimCode: time 1.162e-06/8.048, allocations: 0 / 3.212 GB, free: 97.44 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1328/8.18, allocations: 81.4 MB / 3.291 GB, free: 44.51 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/8.181, allocations: 209.4 kB / 3.292 GB, free: 44.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.343/13.52, allocations: 3.984 kB / 3.292 GB, free: 44.28 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)