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.809/1.809, allocations: 288.2 MB / 303.2 MB, free: 8.102 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.001161/0.00116, allocations: 181.1 kB / 371.8 MB, free: 10.29 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.355/1.355, allocations: 205.4 MB / 0.6305 GB, free: 9.922 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.0007946/0.0007947, allocations: 100.6 kB / 0.7439 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003977, allocations: 11.41 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1651, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.5289/0.694, allocations: 179.4 MB / 1.155 GB, free: 5.938 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02193/0.716, allocations: 17.89 MB / 1.172 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002372/0.7184, allocations: 39.91 kB / 1.172 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003297/0.7217, allocations: 1.12 MB / 1.173 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00939/0.7311, allocations: 3.359 MB / 1.177 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004215/0.7354, allocations: 1.46 MB / 1.178 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005654/0.741, allocations: 3.931 MB / 1.182 GB, free: 400 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002836/0.7439, allocations: 1.738 MB / 1.184 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00494/0.7488, allocations: 1.82 MB / 1.185 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003154/0.752, allocations: 1.641 MB / 1.187 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0008325/0.7529, allocations: 160.2 kB / 1.187 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005344/0.7582, allocations: 1.681 MB / 1.189 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.00185/0.7601, allocations: 1.146 MB / 1.19 GB, free: 12 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001572/0.7617, allocations: 0.6299 MB / 1.19 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.005346/0.767, allocations: 3.817 MB / 1.194 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.7671, allocations: 0 / 1.194 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7671, allocations: 0 / 1.194 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001703/0.7672, allocations: 0 / 1.194 GB, free: 9.219 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.009553/0.7768, allocations: 3.439 MB / 1.198 GB, free: 7.031 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.7769, allocations: 11.89 kB / 1.198 GB, free: 7.027 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000962/0.7778, allocations: 395.4 kB / 1.198 GB, free: 6.734 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005089/0.7829, allocations: 0.8271 MB / 1.199 GB, free: 6.352 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004105/0.787, allocations: 1.78 MB / 1.2 GB, free: 5.113 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.7872, allocations: 204.2 kB / 1.201 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003827/0.7876, allocations: 268.4 kB / 1.201 GB, free: 4.93 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005047/0.7926, allocations: 3.24 MB / 1.204 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.21e-05/0.7927, allocations: 11.83 kB / 1.204 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002505/0.793, allocations: 115.9 kB / 1.204 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/0.7931, allocations: 125.4 kB / 1.204 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006708/0.7998, allocations: 4.588 MB / 1.209 GB, free: 13.31 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.01523/0.815, allocations: 10.88 MB / 1.219 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005643/0.8207, allocations: 4.84 MB / 1.224 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009646/0.8217, allocations: 0.8683 MB / 1.225 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.418e-05/0.8217, allocations: 89.62 kB / 1.225 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=399): time 5.06e-06/0.8218, allocations: 0 / 1.225 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of matching and sorting (n=399): time 0.008996/0.8308, allocations: 6.005 MB / 1.231 GB, free: 5.656 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.8308, allocations: 94.55 kB / 1.231 GB, free: 5.551 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/0.8325, allocations: 1.247 MB / 1.232 GB, free: 4.297 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002219/0.8327, allocations: 93.7 kB / 1.232 GB, free: 4.199 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005215/0.8333, allocations: 0.8017 MB / 1.233 GB, free: 3.387 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009907/0.8343, allocations: 1.332 MB / 1.234 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.8344, allocations: 68 kB / 1.234 GB, free: 1.969 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.8346, allocations: 445.1 kB / 1.235 GB, free: 1.527 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002301/0.8369, allocations: 1.595 MB / 1.236 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/0.8394, allocations: 1.908 MB / 1.238 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002654/0.8421, allocations: 1.89 MB / 1.24 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.8421, allocations: 0 / 1.24 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006019/0.8481, allocations: 4.172 MB / 1.244 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.8482, allocations: 4 kB / 1.244 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.8482, allocations: 4 kB / 1.244 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/0.8482, allocations: 16 kB / 1.244 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/0.851, allocations: 0.6792 MB / 1.245 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.279e-05/0.851, allocations: 23.94 kB / 1.245 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/0.8538, allocations: 371.6 kB / 1.245 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/0.8541, allocations: 115.9 kB / 1.245 GB, free: 6.672 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.00125/0.8553, allocations: 0.7274 MB / 1.246 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004272/0.8558, allocations: 237.2 kB / 1.246 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007104/0.8629, allocations: 4.633 MB / 1.251 GB, free: 1.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-05/0.8629, allocations: 36 kB / 1.251 GB, free: 0.9844 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.8629, allocations: 8 kB / 1.251 GB, free: 0.9766 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005485/0.8684, allocations: 3.942 MB / 1.255 GB, free: 12.97 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004845/0.8733, allocations: 3.344 MB / 1.258 GB, free: 9.582 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.8733, allocations: 0 / 1.258 GB, free: 9.582 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002856/0.8762, allocations: 0.6671 MB / 1.259 GB, free: 8.914 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004878/0.8767, allocations: 142.4 kB / 1.259 GB, free: 8.766 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002716/0.877, allocations: 83.97 kB / 1.259 GB, free: 8.684 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003759/0.8807, allocations: 4.603 MB / 1.263 GB, free: 3.68 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.8808, allocations: 0 / 1.263 GB, free: 3.68 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009845/0.8906, allocations: 7.01 MB / 1.27 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001836/0.8925, allocations: 0.7667 MB / 1.271 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004739/0.8929, allocations: 68 kB / 1.271 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002342/0.8953, allocations: 221 kB / 1.271 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003305/0.8956, allocations: 226.8 kB / 1.271 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002345/0.8959, allocations: 112 kB / 1.272 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001248/0.8971, allocations: 0.8718 MB / 1.272 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8971, allocations: 0 / 1.272 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002738/0.8999, allocations: 1.092 MB / 1.273 GB, free: 9.242 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.01045/0.9104, allocations: 7.809 MB / 1.281 GB, free: 1.359 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.005647/0.916, allocations: 4.035 MB / 1.285 GB, free: 13.31 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.916, allocations: 4 kB / 1.285 GB, free: 13.31 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003343/0.9194, allocations: 2.552 MB / 1.288 GB, free: 10.72 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004435/0.9238, allocations: 0.971 MB / 1.289 GB, free: 9.754 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.9361, allocations: 10.94 MB / 1.299 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/0.9375, allocations: 1.981 MB / 1.301 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003424/0.9409, allocations: 1.223 MB / 1.302 GB, free: 11.42 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/0.9425, allocations: 1.077 MB / 1.303 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of SimCode: time 5.91e-07/0.9425, allocations: 0 / 1.303 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09251/1.035, allocations: 65.79 MB / 1.368 GB, free: 9.074 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/1.035, allocations: 208.7 kB / 1.368 GB, free: 8.836 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.852/4.887, allocations: 3.938 kB / 1.368 GB, free: 8.832 MB / 0.9011 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)