Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.44/1.44, allocations: 288.4 MB / 303.6 MB, free: 8.062 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008905/0.0008902, allocations: 176.5 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.142/1.142, allocations: 205.4 MB / 0.631 GB, free: 9.805 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000717/0.000717, allocations: 102.3 kB / 0.7444 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.0003209, allocations: 11.47 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1434, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.4891/0.6325, allocations: 199 MB / 1.175 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02239/0.6549, allocations: 20.11 MB / 1.194 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002067/0.657, allocations: 44.31 kB / 1.194 GB, free: 7.219 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002251/0.6593, allocations: 0.9801 MB / 1.195 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.007869/0.6672, allocations: 3.564 MB / 1.199 GB, free: 3.746 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002938/0.6701, allocations: 1.124 MB / 1.2 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007243/0.6774, allocations: 8.019 MB / 1.208 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002447/0.6799, allocations: 1.923 MB / 1.209 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003371/0.6833, allocations: 1.991 MB / 1.211 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003663/0.6869, allocations: 2.392 MB / 1.214 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0003432/0.6873, allocations: 161.7 kB / 1.214 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00642/0.6937, allocations: 3.857 MB / 1.218 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.6949, allocations: 1.258 MB / 1.219 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001968/0.6969, allocations: 1.6 MB / 1.22 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00439/0.7013, allocations: 4.205 MB / 1.225 GB, free: 168 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.319e-06/0.7013, allocations: 0 / 1.225 GB, free: 168 kB / 0.7448 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7013, allocations: 0 / 1.225 GB, free: 168 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.903e-05/0.7014, allocations: 0 / 1.225 GB, free: 168 kB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.007323/0.7087, allocations: 3.434 MB / 1.228 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.7088, allocations: 12.03 kB / 1.228 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006507/0.7094, allocations: 395.7 kB / 1.228 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004141/0.7136, allocations: 0.8159 MB / 1.229 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/0.7164, allocations: 1.872 MB / 1.231 GB, free: 9.512 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.7166, allocations: 217.3 kB / 1.231 GB, free: 9.297 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003324/0.7169, allocations: 264 kB / 1.231 GB, free: 9.039 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004726/0.7216, allocations: 3.251 MB / 1.235 GB, free: 5.746 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.752e-05/0.7217, allocations: 11.89 kB / 1.235 GB, free: 5.734 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002348/0.722, allocations: 115.9 kB / 1.235 GB, free: 5.621 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.7221, allocations: 125.4 kB / 1.235 GB, free: 5.496 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006188/0.7283, allocations: 4.584 MB / 1.239 GB, free: 0.8984 MB / 0.7605 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.01308/0.7414, allocations: 10.86 MB / 1.25 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005242/0.7466, allocations: 4.855 MB / 1.255 GB, free: 480 kB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00298/0.7496, allocations: 2.516 MB / 1.257 GB, free: 13.95 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000909/0.7506, allocations: 0.8642 MB / 1.258 GB, free: 12.92 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.35e-05/0.7506, allocations: 77.7 kB / 1.258 GB, free: 12.83 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=399): time 4.989e-06/0.7506, allocations: 0 / 1.258 GB, free: 12.83 MB / 0.7917 GB Notification: Performance of matching and sorting (n=399): time 0.008213/0.7588, allocations: 5.999 MB / 1.264 GB, free: 6.746 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.7589, allocations: 98.55 kB / 1.264 GB, free: 6.637 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.7602, allocations: 1.204 MB / 1.265 GB, free: 5.426 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001718/0.7604, allocations: 93.7 kB / 1.265 GB, free: 5.328 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004638/0.7609, allocations: 0.8055 MB / 1.266 GB, free: 4.512 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008722/0.7618, allocations: 1.332 MB / 1.267 GB, free: 3.16 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.7619, allocations: 68 kB / 1.267 GB, free: 3.094 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.7621, allocations: 441.1 kB / 1.268 GB, free: 2.656 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002127/0.7642, allocations: 1.595 MB / 1.269 GB, free: 1.059 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002309/0.7665, allocations: 1.906 MB / 1.271 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004848/0.7714, allocations: 3.815 MB / 1.275 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.7714, allocations: 4 kB / 1.275 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005484/0.7769, allocations: 4.152 MB / 1.279 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.7769, allocations: 8.406 kB / 1.279 GB, free: 7.035 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.777, allocations: 11.98 kB / 1.279 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.777, allocations: 19.94 kB / 1.279 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002504/0.7795, allocations: 0.6788 MB / 1.28 GB, free: 6.324 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.528e-05/0.7795, allocations: 19.94 kB / 1.28 GB, free: 6.305 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/0.7818, allocations: 374.1 kB / 1.28 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/0.782, allocations: 108 kB / 1.28 GB, free: 5.836 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001069/0.7831, allocations: 0.7399 MB / 1.281 GB, free: 5.086 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/0.7834, allocations: 237.1 kB / 1.281 GB, free: 4.852 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006283/0.7897, allocations: 4.611 MB / 1.286 GB, free: 200 kB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.431e-05/0.7898, allocations: 40 kB / 1.286 GB, free: 160 kB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.7898, allocations: 3.938 kB / 1.286 GB, free: 156 kB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00499/0.7948, allocations: 3.93 MB / 1.29 GB, free: 12.16 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/0.8053, allocations: 8.245 MB / 1.298 GB, free: 3.832 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.8054, allocations: 0 / 1.298 GB, free: 3.832 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002593/0.808, allocations: 0.6671 MB / 1.298 GB, free: 3.164 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003993/0.8084, allocations: 142.4 kB / 1.298 GB, free: 3.016 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/0.8086, allocations: 79.98 kB / 1.298 GB, free: 2.938 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003198/0.8118, allocations: 4.564 MB / 1.303 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8118, allocations: 4.094 kB / 1.303 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008605/0.8204, allocations: 6.986 MB / 1.31 GB, free: 6.922 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/0.8217, allocations: 0.7589 MB / 1.31 GB, free: 6.141 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/0.822, allocations: 71.98 kB / 1.311 GB, free: 6.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001899/0.8239, allocations: 212.3 kB / 1.311 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003599/0.8243, allocations: 230.8 kB / 1.311 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001992/0.8245, allocations: 116 kB / 1.311 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0009946/0.8255, allocations: 0.8366 MB / 1.312 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8255, allocations: 4 kB / 1.312 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002161/0.8277, allocations: 1.08 MB / 1.313 GB, free: 3.598 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (393): * Single equations (assignments): 390 * 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: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009348/0.837, allocations: 7.775 MB / 1.321 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005222/0.8423, allocations: 4.027 MB / 1.324 GB, free: 7.711 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.8423, allocations: 0 / 1.324 GB, free: 7.711 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003062/0.8454, allocations: 2.552 MB / 1.327 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004253/0.8496, allocations: 1.015 MB / 1.328 GB, free: 4.113 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02433/0.874, allocations: 19.5 MB / 1.347 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/0.8753, allocations: 1.931 MB / 1.349 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003085/0.8784, allocations: 1.219 MB / 1.35 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/0.8798, allocations: 1.085 MB / 1.351 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of SimCode: time 5.81e-07/0.8798, allocations: 0 / 1.351 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.004/1.884, allocations: 66.99 MB / 1.417 GB, free: 8.945 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002327/1.884, allocations: 208.7 kB / 1.417 GB, free: 8.711 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.075/5.959, allocations: 0 / 1.417 GB, free: 8.711 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)