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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008529/0.0008528, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.516/2.516, allocations: 409.4 MB / 0.684 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003646, allocations: 8 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7546/0.755, allocations: 146.8 MB / 0.9811 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.TrickleVent): time 0.1859/0.9409, allocations: 170.3 MB / 1.147 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02359/0.9646, allocations: 15.25 MB / 1.162 GB, free: 12.18 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00258/0.9672, allocations: 43.75 kB / 1.162 GB, free: 12.13 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.9693, allocations: 0.5044 MB / 1.163 GB, free: 11.62 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006338/0.9757, allocations: 1.829 MB / 1.165 GB, free: 9.793 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004849/0.9805, allocations: 1.47 MB / 1.166 GB, free: 8.336 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005598/0.9861, allocations: 3.887 MB / 1.17 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003401/0.9896, allocations: 1.557 MB / 1.171 GB, free: 2.848 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003598/0.9932, allocations: 1.175 MB / 1.173 GB, free: 1.668 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002729/0.996, allocations: 1.101 MB / 1.174 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006859/0.9967, allocations: 67.94 kB / 1.174 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004398/1.001, allocations: 1.38 MB / 1.175 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001039/1.002, allocations: 0.576 MB / 1.176 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001028/1.003, allocations: 456.4 kB / 1.176 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004829/1.008, allocations: 2.852 MB / 1.179 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.008, allocations: 0 / 1.179 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.573e-06/1.008, allocations: 0 / 1.179 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001291/1.008, allocations: 3.938 kB / 1.179 GB, free: 11.22 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 454 * Number of variables: 454 Notification: Performance of Generate backend data structure: time 0.005462/1.014, allocations: 2.487 MB / 1.181 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/1.014, allocations: 8.031 kB / 1.181 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006863/1.014, allocations: 265.5 kB / 1.182 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003716/1.018, allocations: 0.5667 MB / 1.182 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004221/1.022, allocations: 2.707 MB / 1.185 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/1.023, allocations: 131.5 kB / 1.185 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004234/1.023, allocations: 176 kB / 1.185 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004255/1.027, allocations: 2.056 MB / 1.187 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.732e-05/1.027, allocations: 0 / 1.187 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002148/1.028, allocations: 83.94 kB / 1.187 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-05/1.028, allocations: 63.41 kB / 1.187 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00383/1.031, allocations: 2.094 MB / 1.189 GB, free: 384 kB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0128/1.044, allocations: 7.785 MB / 1.197 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003082/1.047, allocations: 1.686 MB / 1.198 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/1.049, allocations: 0.7569 MB / 1.199 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008015/1.05, allocations: 0.6531 MB / 1.2 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001905/1.051, allocations: 0.9789 MB / 1.201 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=151): time 4.699e-06/1.052, allocations: 0 / 1.201 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of matching and sorting (n=151): time 0.00621/1.058, allocations: 2.68 MB / 1.203 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/1.058, allocations: 222.9 kB / 1.204 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004746/1.063, allocations: 3.099 MB / 1.207 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002903/1.063, allocations: 57.7 kB / 1.207 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/1.064, allocations: 0.8862 MB / 1.208 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007327/1.065, allocations: 0.4929 MB / 1.208 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/1.065, allocations: 27.94 kB / 1.208 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002144/1.065, allocations: 361.9 kB / 1.208 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/1.066, allocations: 0.57 MB / 1.209 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/1.068, allocations: 0.7733 MB / 1.21 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/1.069, allocations: 0.6506 MB / 1.21 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/1.069, allocations: 0 / 1.21 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.004034/1.073, allocations: 1.754 MB / 1.212 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/1.073, allocations: 151.8 kB / 1.212 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.073, allocations: 0 / 1.212 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007839/1.074, allocations: 150.4 kB / 1.212 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/1.076, allocations: 315.6 kB / 1.213 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004396/1.08, allocations: 4.225 MB / 1.217 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/1.082, allocations: 198.7 kB / 1.217 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002549/1.082, allocations: 55.97 kB / 1.217 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/1.082, allocations: 4 kB / 1.217 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003548/1.086, allocations: 1.532 MB / 1.219 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/1.086, allocations: 4 kB / 1.219 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006839/1.086, allocations: 146.7 kB / 1.219 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/1.088, allocations: 307.6 kB / 1.219 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004088/1.092, allocations: 4.222 MB / 1.223 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/1.094, allocations: 199.2 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/1.094, allocations: 51.98 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 159 * 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.001324/1.096, allocations: 0.5452 MB / 1.224 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005529/1.096, allocations: 189.8 kB / 1.224 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004889/1.101, allocations: 2.062 MB / 1.226 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.989e-05/1.101, allocations: 16 kB / 1.226 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.902e-05/1.101, allocations: 0 / 1.226 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003933/1.105, allocations: 1.677 MB / 1.228 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009443/1.114, allocations: 3.946 MB / 1.232 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/1.115, allocations: 0 / 1.232 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/1.116, allocations: 315.6 kB / 1.232 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006744/1.117, allocations: 142.4 kB / 1.232 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/1.117, allocations: 47.97 kB / 1.232 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004129/1.121, allocations: 4.233 MB / 1.236 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.121, allocations: 0 / 1.236 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006116/1.127, allocations: 2.823 MB / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/1.128, allocations: 0.4904 MB / 1.239 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004613/1.129, allocations: 32.19 kB / 1.239 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/1.131, allocations: 164.6 kB / 1.24 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002577/1.131, allocations: 113.1 kB / 1.24 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/1.131, allocations: 67.95 kB / 1.24 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003095/1.134, allocations: 2.342 MB / 1.242 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.134, allocations: 0 / 1.242 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0034/1.138, allocations: 1.106 MB / 1.243 GB, free: 6.875 MB / 0.9981 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.conTimMin.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.007494/1.145, allocations: 4.076 MB / 1.247 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4983/1.643, allocations: 2.956 MB / 1.25 GB, free: 262.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.685e-05/1.643, allocations: 1.875 kB / 1.25 GB, free: 262.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002476/1.646, allocations: 1.181 MB / 1.251 GB, free: 261.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003451/1.649, allocations: 0.6804 MB / 1.252 GB, free: 261.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03068/1.68, allocations: 16.64 MB / 1.268 GB, free: 254.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/1.681, allocations: 1.546 MB / 1.27 GB, free: 254 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002822/1.684, allocations: 0.6233 MB / 1.27 GB, free: 253.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/1.685, allocations: 0.8772 MB / 1.271 GB, free: 253.1 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/1.685, allocations: 0 / 1.271 GB, free: 253.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06991/1.755, allocations: 51.97 MB / 1.322 GB, free: 205.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/1.755, allocations: 274.5 kB / 1.322 GB, free: 204.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.278/5.033, allocations: 0 / 1.322 GB, free: 204.7 MB / 0.9981 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) Environment - environmentSimulation: