Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.628/2.628, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001667/0.001666, allocations: 185 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.335/2.335, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001567/0.001567, allocations: 107.5 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006643/0.0006645, allocations: 11.53 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2264, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.946/1.172, allocations: 179.4 MB / 1.153 GB, free: 6.848 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03902/1.211, allocations: 17.88 MB / 1.171 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003156/1.215, allocations: 43.84 kB / 1.171 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005379/1.22, allocations: 1.12 MB / 1.172 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01472/1.235, allocations: 3.353 MB / 1.175 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.006976/1.242, allocations: 1.469 MB / 1.177 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01014/1.252, allocations: 3.921 MB / 1.181 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004052/1.256, allocations: 1.734 MB / 1.182 GB, free: 260 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005808/1.262, allocations: 1.822 MB / 1.184 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004476/1.267, allocations: 1.643 MB / 1.186 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001304/1.268, allocations: 160.6 kB / 1.186 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008358/1.276, allocations: 1.691 MB / 1.187 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.002793/1.279, allocations: 1.14 MB / 1.189 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.002026/1.281, allocations: 0.634 MB / 1.189 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.008833/1.29, allocations: 3.821 MB / 1.193 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/1.29, allocations: 0 / 1.193 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.466e-06/1.29, allocations: 0 / 1.193 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002003/1.29, allocations: 0 / 1.193 GB, free: 10.12 MB / 0.7292 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.01507/1.305, allocations: 3.427 MB / 1.196 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/1.306, allocations: 11.52 kB / 1.196 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001468/1.307, allocations: 391.3 kB / 1.197 GB, free: 7.656 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007966/1.315, allocations: 0.8334 MB / 1.198 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006299/1.321, allocations: 1.783 MB / 1.199 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002934/1.322, allocations: 206.5 kB / 1.199 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001126/1.323, allocations: 264.4 kB / 1.2 GB, free: 5.844 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/1.334, allocations: 3.242 MB / 1.203 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/1.334, allocations: 7.906 kB / 1.203 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006391/1.335, allocations: 112 kB / 1.203 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002311/1.335, allocations: 125.4 kB / 1.203 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0149/1.35, allocations: 4.592 MB / 1.208 GB, free: 14.45 MB / 0.7448 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.03138/1.381, allocations: 10.87 MB / 1.218 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/1.394, allocations: 4.848 MB / 1.223 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001917/1.396, allocations: 0.8683 MB / 1.224 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/1.396, allocations: 85.64 kB / 1.224 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=399): time 7.344e-06/1.396, allocations: 0 / 1.224 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of matching and sorting (n=399): time 0.02042/1.416, allocations: 6.008 MB / 1.23 GB, free: 6.793 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.967e-05/1.417, allocations: 98.5 kB / 1.23 GB, free: 6.684 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003002/1.42, allocations: 1.243 MB / 1.231 GB, free: 5.434 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000775/1.42, allocations: 93.64 kB / 1.231 GB, free: 5.336 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009514/1.421, allocations: 0.8017 MB / 1.232 GB, free: 4.523 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.002353/1.424, allocations: 1.332 MB / 1.233 GB, free: 3.172 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004377/1.424, allocations: 72 kB / 1.233 GB, free: 3.102 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0004488/1.425, allocations: 441.1 kB / 1.234 GB, free: 2.664 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005241/1.43, allocations: 1.596 MB / 1.235 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005767/1.436, allocations: 1.9 MB / 1.237 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006045/1.442, allocations: 1.89 MB / 1.239 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.179e-05/1.442, allocations: 7.938 kB / 1.239 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01402/1.456, allocations: 4.168 MB / 1.243 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.05e-05/1.456, allocations: 8 kB / 1.243 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/1.456, allocations: 4 kB / 1.243 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.894e-05/1.456, allocations: 16 kB / 1.243 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006491/1.463, allocations: 0.683 MB / 1.244 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.38e-05/1.463, allocations: 23.98 kB / 1.244 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005498/1.468, allocations: 371.4 kB / 1.244 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008749/1.469, allocations: 120 kB / 1.244 GB, free: 7.801 MB / 0.7761 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.002866/1.472, allocations: 0.7274 MB / 1.245 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001137/1.473, allocations: 237.2 kB / 1.245 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01618/1.49, allocations: 4.618 MB / 1.25 GB, free: 2.164 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-05/1.49, allocations: 40 kB / 1.25 GB, free: 2.125 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/1.49, allocations: 0 / 1.25 GB, free: 2.125 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01291/1.503, allocations: 3.95 MB / 1.254 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/1.514, allocations: 3.344 MB / 1.257 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.78e-05/1.514, allocations: 0 / 1.257 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01073/1.525, allocations: 0.6632 MB / 1.257 GB, free: 10.06 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/1.526, allocations: 138.5 kB / 1.258 GB, free: 9.914 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009289/1.527, allocations: 79.97 kB / 1.258 GB, free: 9.836 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006621/1.534, allocations: 4.615 MB / 1.262 GB, free: 4.82 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.534, allocations: 0 / 1.262 GB, free: 4.82 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02358/1.557, allocations: 7.014 MB / 1.269 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00336/1.561, allocations: 0.7589 MB / 1.27 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009737/1.562, allocations: 67.98 kB / 1.27 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004714/1.566, allocations: 220.6 kB / 1.27 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001053/1.568, allocations: 222.8 kB / 1.27 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005743/1.568, allocations: 108 kB / 1.27 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002183/1.57, allocations: 0.8756 MB / 1.271 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.31e-07/1.57, allocations: 4 kB / 1.271 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.005067/1.575, allocations: 1.092 MB / 1.272 GB, free: 10.39 MB / 0.8073 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.02117/1.597, allocations: 7.814 MB / 1.28 GB, free: 2.5 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01166/1.608, allocations: 4.031 MB / 1.284 GB, free: 14.45 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/1.608, allocations: 4 kB / 1.284 GB, free: 14.45 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00691/1.615, allocations: 2.556 MB / 1.286 GB, free: 11.86 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008235/1.624, allocations: 0.9809 MB / 1.287 GB, free: 10.88 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02342/1.647, allocations: 10.93 MB / 1.298 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002961/1.65, allocations: 1.989 MB / 1.3 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.007881/1.658, allocations: 1.212 MB / 1.301 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003625/1.662, allocations: 1.085 MB / 1.302 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of SimCode: time 1.653e-06/1.662, allocations: 0 / 1.302 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2072/1.869, allocations: 65.76 MB / 1.366 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003435/1.869, allocations: 209.9 kB / 1.367 GB, free: 10 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.366/7.236, allocations: 6.062 kB / 1.367 GB, free: 10 MB / 0.9011 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)