Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.484/1.484, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 173 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 103.7 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003359, allocations: 8.562 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2017, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.6685/0.8702, allocations: 179.4 MB / 1.075 GB, free: 3.258 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02341/0.8937, allocations: 17.89 MB / 1.093 GB, free: 3.043 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002571/0.8963, allocations: 41.19 kB / 1.093 GB, free: 3.043 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003172/0.8995, allocations: 1.113 MB / 1.094 GB, free: 3.039 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0102/0.9097, allocations: 3.363 MB / 1.097 GB, free: 3 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00495/0.9147, allocations: 1.463 MB / 1.099 GB, free: 2.961 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006223/0.9209, allocations: 3.919 MB / 1.102 GB, free: 2.941 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002504/0.9234, allocations: 1.738 MB / 1.104 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003738/0.9272, allocations: 1.819 MB / 1.106 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002744/0.93, allocations: 1.645 MB / 1.108 GB, free: 2.742 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005527/0.9305, allocations: 163.3 kB / 1.108 GB, free: 2.738 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005224/0.9358, allocations: 1.684 MB / 1.109 GB, free: 2.738 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001507/0.9373, allocations: 1.144 MB / 1.11 GB, free: 2.734 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001491/0.9388, allocations: 0.6318 MB / 1.111 GB, free: 18.7 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005447/0.9443, allocations: 3.814 MB / 1.115 GB, free: 18.41 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.9443, allocations: 0 / 1.115 GB, free: 18.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9443, allocations: 0 / 1.115 GB, free: 18.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001182/0.9444, allocations: 0 / 1.115 GB, free: 18.41 MB / 0.7136 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.008358/0.9528, allocations: 3.438 MB / 1.118 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.9528, allocations: 8.062 kB / 1.118 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007871/0.9536, allocations: 393 kB / 1.119 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004763/0.9584, allocations: 0.8318 MB / 1.119 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004118/0.9625, allocations: 1.784 MB / 1.121 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.9627, allocations: 201.3 kB / 1.121 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005385/0.9633, allocations: 270.6 kB / 1.122 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005909/0.9692, allocations: 3.237 MB / 1.125 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-05/0.9693, allocations: 9.234 kB / 1.125 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002656/0.9696, allocations: 114.5 kB / 1.125 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001665/0.9697, allocations: 126.3 kB / 1.125 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00879/0.9785, allocations: 4.59 MB / 1.129 GB, free: 13.97 MB / 0.7136 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.01924/0.9978, allocations: 10.89 MB / 1.14 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00699/1.005, allocations: 4.837 MB / 1.145 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001551/1.006, allocations: 0.8706 MB / 1.146 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.993e-05/1.007, allocations: 83.03 kB / 1.146 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=399): time 1.037e-05/1.007, allocations: 0 / 1.146 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of matching and sorting (n=399): time 0.01262/1.019, allocations: 6.007 MB / 1.152 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/1.019, allocations: 93.39 kB / 1.152 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002261/1.022, allocations: 1.245 MB / 1.153 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0007509/1.022, allocations: 93.77 kB / 1.153 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008405/1.023, allocations: 0.8038 MB / 1.154 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002096/1.025, allocations: 1.337 MB / 1.155 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005231/1.026, allocations: 65.16 kB / 1.155 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0004436/1.026, allocations: 443.6 kB / 1.156 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003221/1.03, allocations: 1.593 MB / 1.157 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003495/1.033, allocations: 1.905 MB / 1.159 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0038/1.037, allocations: 1.892 MB / 1.161 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/1.037, allocations: 0 / 1.161 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008871/1.046, allocations: 4.168 MB / 1.165 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.738e-05/1.046, allocations: 8 kB / 1.165 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/1.046, allocations: 4 kB / 1.165 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.993e-05/1.046, allocations: 16.41 kB / 1.165 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003204/1.049, allocations: 0.6872 MB / 1.166 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-05/1.049, allocations: 16 kB / 1.166 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003482/1.053, allocations: 367.6 kB / 1.166 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005732/1.053, allocations: 116.4 kB / 1.166 GB, free: 12.73 MB / 0.7292 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.00195/1.055, allocations: 0.7289 MB / 1.167 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008516/1.056, allocations: 241.1 kB / 1.167 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008497/1.065, allocations: 4.626 MB / 1.172 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.045e-05/1.065, allocations: 38.91 kB / 1.172 GB, free: 8.996 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/1.065, allocations: 4 kB / 1.172 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007014/1.072, allocations: 3.949 MB / 1.175 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005802/1.078, allocations: 3.343 MB / 1.179 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.351e-05/1.078, allocations: 3.953 kB / 1.179 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003294/1.081, allocations: 0.6661 MB / 1.179 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005135/1.082, allocations: 134.6 kB / 1.179 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004437/1.082, allocations: 85.16 kB / 1.18 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004087/1.086, allocations: 4.613 MB / 1.184 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.086, allocations: 0 / 1.184 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01184/1.098, allocations: 7.002 MB / 1.191 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002705/1.101, allocations: 0.7724 MB / 1.192 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006216/1.101, allocations: 71.38 kB / 1.192 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002669/1.104, allocations: 217.8 kB / 1.192 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004686/1.105, allocations: 220.6 kB / 1.192 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002999/1.105, allocations: 118.7 kB / 1.192 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001464/1.106, allocations: 0.8657 MB / 1.193 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.21e-07/1.106, allocations: 2.531 kB / 1.193 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003153/1.11, allocations: 1.093 MB / 1.194 GB, free: 7.297 MB / 0.7448 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.01132/1.121, allocations: 7.815 MB / 1.202 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.007039/1.128, allocations: 4.034 MB / 1.206 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/1.128, allocations: 0.8125 kB / 1.206 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004395/1.132, allocations: 2.552 MB / 1.208 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005522/1.138, allocations: 0.9702 MB / 1.209 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01915/1.157, allocations: 10.95 MB / 1.22 GB, free: 2.613 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001897/1.159, allocations: 1.983 MB / 1.222 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004652/1.164, allocations: 1.223 MB / 1.223 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002074/1.166, allocations: 1.075 MB / 1.224 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of SimCode: time 1.342e-06/1.166, allocations: 4 kB / 1.224 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.11/1.276, allocations: 65.78 MB / 1.288 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/1.276, allocations: 213.5 kB / 1.288 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.923/5.199, allocations: 4 kB / 1.288 GB, free: 13.77 MB / 0.8386 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)