Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.ClosedDoors,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ClosedDoors",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.001474/0.001474, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001255/0.001255, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.454/2.454, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 8.202/8.202, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009245/0.0009251, allocations: 12.81 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4815/0.4824, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 1.654/2.137, allocations: 179.4 MB / 0.9624 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05707/2.194, allocations: 17.88 MB / 0.9799 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006635/2.201, allocations: 38.69 kB / 0.9799 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007846/2.208, allocations: 1.118 MB / 0.981 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0258/2.234, allocations: 3.359 MB / 0.9843 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01014/2.244, allocations: 1.464 MB / 0.9857 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01694/2.261, allocations: 3.925 MB / 0.9896 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006995/2.268, allocations: 1.733 MB / 0.9913 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01079/2.279, allocations: 1.823 MB / 0.993 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007402/2.287, allocations: 1.645 MB / 0.9946 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002679/2.29, allocations: 159.3 kB / 0.9948 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01283/2.302, allocations: 1.69 MB / 0.9964 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.003733/2.306, allocations: 1.137 MB / 0.9976 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004934/2.311, allocations: 0.6333 MB / 0.9982 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01304/2.324, allocations: 3.82 MB / 1.002 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/2.324, allocations: 0 / 1.002 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.936e-06/2.324, allocations: 2.844 kB / 1.002 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002395/2.325, allocations: 4 kB / 1.002 GB, free: 15.6 MB / 0.7325 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.0216/2.346, allocations: 3.429 MB / 1.005 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001072/2.346, allocations: 10.81 kB / 1.005 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003517/2.35, allocations: 389 kB / 1.006 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01349/2.363, allocations: 0.8291 MB / 1.006 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01255/2.376, allocations: 1.798 MB / 1.008 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005923/2.377, allocations: 202.8 kB / 1.008 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002555/2.379, allocations: 266.4 kB / 1.009 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01792/2.397, allocations: 3.236 MB / 1.012 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002283/2.398, allocations: 6.562 kB / 1.012 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001338/2.399, allocations: 112.3 kB / 1.012 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002761/2.399, allocations: 127.6 kB / 1.012 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0173/2.417, allocations: 4.594 MB / 1.017 GB, free: 10.61 MB / 0.7325 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.03842/2.455, allocations: 10.88 MB / 1.027 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01315/2.468, allocations: 4.836 MB / 1.032 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002803/2.471, allocations: 0.876 MB / 1.033 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/2.471, allocations: 77.7 kB / 1.033 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=399): time 1.088e-05/2.471, allocations: 0 / 1.033 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of matching and sorting (n=399): time 0.0248/2.496, allocations: 6.006 MB / 1.039 GB, free: 4.887 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.886e-05/2.496, allocations: 94.55 kB / 1.039 GB, free: 4.781 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003648/2.5, allocations: 1.25 MB / 1.04 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001327/2.501, allocations: 93.7 kB / 1.04 GB, free: 3.426 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001121/2.503, allocations: 0.7978 MB / 1.041 GB, free: 2.617 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.003314/2.506, allocations: 1.336 MB / 1.042 GB, free: 1.262 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003737/2.506, allocations: 68 kB / 1.042 GB, free: 1.195 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0004537/2.507, allocations: 441 kB / 1.043 GB, free: 0.7578 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004858/2.512, allocations: 1.598 MB / 1.044 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006128/2.518, allocations: 1.9 MB / 1.046 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005994/2.524, allocations: 1.895 MB / 1.048 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.683e-05/2.524, allocations: 3.938 kB / 1.048 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01247/2.536, allocations: 4.166 MB / 1.052 GB, free: 7.129 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.576e-05/2.537, allocations: 12 kB / 1.052 GB, free: 7.117 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/2.537, allocations: 4 kB / 1.052 GB, free: 7.113 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.919e-05/2.537, allocations: 16 kB / 1.052 GB, free: 7.098 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005038/2.542, allocations: 0.6802 MB / 1.053 GB, free: 6.457 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.263e-05/2.542, allocations: 18.53 kB / 1.053 GB, free: 6.441 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005408/2.547, allocations: 373 kB / 1.053 GB, free: 6.074 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001029/2.548, allocations: 115.9 kB / 1.053 GB, free: 5.961 MB / 0.7637 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.003263/2.552, allocations: 0.7249 MB / 1.054 GB, free: 5.266 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001309/2.553, allocations: 237.2 kB / 1.054 GB, free: 5.031 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/2.566, allocations: 4.633 MB / 1.059 GB, free: 368 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-05/2.566, allocations: 36 kB / 1.059 GB, free: 332 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-05/2.566, allocations: 4 kB / 1.059 GB, free: 328 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01492/2.581, allocations: 3.943 MB / 1.063 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/2.593, allocations: 3.347 MB / 1.066 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.338e-05/2.593, allocations: 0 / 1.066 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005985/2.599, allocations: 0.6674 MB / 1.066 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007653/2.6, allocations: 141 kB / 1.067 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001041/2.601, allocations: 79.98 kB / 1.067 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005273/2.606, allocations: 4.611 MB / 1.071 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/2.607, allocations: 0 / 1.071 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01841/2.625, allocations: 7.008 MB / 1.078 GB, free: 12.03 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003718/2.629, allocations: 0.7667 MB / 1.079 GB, free: 11.24 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001146/2.63, allocations: 70.53 kB / 1.079 GB, free: 11.17 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004274/2.634, allocations: 215.7 kB / 1.079 GB, free: 10.96 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008741/2.635, allocations: 226.8 kB / 1.079 GB, free: 10.74 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004058/2.636, allocations: 112 kB / 1.079 GB, free: 10.63 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00216/2.638, allocations: 0.864 MB / 1.08 GB, free: 9.762 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/2.638, allocations: 0 / 1.08 GB, free: 9.762 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.006052/2.644, allocations: 1.092 MB / 1.081 GB, free: 8.668 MB / 0.795 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.01874/2.663, allocations: 7.813 MB / 1.089 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01121/2.674, allocations: 4.035 MB / 1.093 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/2.674, allocations: 4.062 kB / 1.093 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.007097/2.681, allocations: 2.553 MB / 1.095 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008988/2.69, allocations: 0.9871 MB / 1.096 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02841/2.719, allocations: 10.94 MB / 1.107 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003323/2.722, allocations: 1.981 MB / 1.109 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.01007/2.732, allocations: 1.223 MB / 1.11 GB, free: 11 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005668/2.738, allocations: 1.077 MB / 1.111 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of SimCode: time 3.155e-06/2.738, allocations: 0 / 1.111 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2812/3.019, allocations: 65.78 MB / 1.175 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004491/3.02, allocations: 200.6 kB / 1.176 GB, free: 8.629 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.979/9.999, allocations: 0 / 1.176 GB, free: 8.629 MB / 0.8887 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) Environment - environmentSimulation: