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.001344/0.001344, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.1 MB / 222.4 MB, free: 4.609 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 1.684/1.684, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001515/0.001516, allocations: 70.59 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2264, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.717/0.9435, allocations: 218.5 MB / 0.9969 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02992/0.9735, allocations: 21.58 MB / 1.018 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004558/0.9781, allocations: 51 kB / 1.018 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004256/0.9824, allocations: 1.236 MB / 1.019 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01312/0.9956, allocations: 4.075 MB / 1.023 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005119/1.001, allocations: 1.52 MB / 1.025 GB, free: 8.148 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01019/1.011, allocations: 6.931 MB / 1.031 GB, free: 4.188 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004302/1.015, allocations: 2.348 MB / 1.034 GB, free: 2.727 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005673/1.021, allocations: 2.354 MB / 1.036 GB, free: 1.438 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005813/1.027, allocations: 2.452 MB / 1.038 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001441/1.028, allocations: 344.4 kB / 1.039 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009342/1.038, allocations: 3.461 MB / 1.042 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.00259/1.04, allocations: 1.452 MB / 1.044 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.004576/1.045, allocations: 1.863 MB / 1.045 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01226/1.057, allocations: 5.718 MB / 1.051 GB, free: 5.426 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/1.057, allocations: 3.984 kB / 1.051 GB, free: 5.422 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.196e-06/1.057, allocations: 0 / 1.051 GB, free: 5.422 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001509/1.057, allocations: 4 kB / 1.051 GB, free: 5.418 MB / 0.7637 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.01094/1.068, allocations: 3.921 MB / 1.055 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/1.068, allocations: 12.03 kB / 1.055 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005893/1.069, allocations: 395.7 kB / 1.055 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004851/1.074, allocations: 0.8275 MB / 1.056 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004368/1.078, allocations: 1.867 MB / 1.058 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002172/1.079, allocations: 201.4 kB / 1.058 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005048/1.079, allocations: 275.9 kB / 1.058 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005816/1.085, allocations: 3.275 MB / 1.061 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.74e-05/1.085, allocations: 0 / 1.061 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002657/1.085, allocations: 108 kB / 1.062 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001294/1.085, allocations: 129.4 kB / 1.062 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007941/1.093, allocations: 4.608 MB / 1.066 GB, free: 5.629 MB / 0.7794 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.01927/1.113, allocations: 10.96 MB / 1.077 GB, free: 9.988 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007263/1.12, allocations: 4.866 MB / 1.082 GB, free: 5.094 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004257/1.124, allocations: 2.528 MB / 1.084 GB, free: 2.559 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/1.126, allocations: 0.8603 MB / 1.085 GB, free: 1.531 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.435e-05/1.126, allocations: 77.64 kB / 1.085 GB, free: 1.445 MB / 0.795 GB Notification: Performance of pre-optimization done (n=399): time 8.496e-06/1.126, allocations: 0 / 1.085 GB, free: 1.445 MB / 0.795 GB Notification: Performance of matching and sorting (n=399): time 0.01254/1.138, allocations: 6.019 MB / 1.091 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/1.138, allocations: 90.55 kB / 1.091 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002425/1.141, allocations: 1.215 MB / 1.092 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0005452/1.141, allocations: 93.7 kB / 1.092 GB, free: 9.918 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000703/1.142, allocations: 0.8095 MB / 1.093 GB, free: 9.098 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001667/1.144, allocations: 1.332 MB / 1.094 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001506/1.145, allocations: 0.5469 MB / 1.095 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.145, allocations: 301.1 kB / 1.095 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002933/1.148, allocations: 1.603 MB / 1.097 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003493/1.152, allocations: 1.923 MB / 1.099 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006811/1.159, allocations: 3.842 MB / 1.102 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.091e-05/1.159, allocations: 4 kB / 1.102 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008687/1.167, allocations: 4.18 MB / 1.106 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/1.168, allocations: 4 kB / 1.106 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/1.168, allocations: 7.984 kB / 1.106 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.501e-05/1.168, allocations: 23.94 kB / 1.106 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003098/1.171, allocations: 0.6788 MB / 1.107 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-05/1.171, allocations: 23.94 kB / 1.107 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002748/1.174, allocations: 245.4 kB / 1.107 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004635/1.174, allocations: 112 kB / 1.108 GB, free: 10.11 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001829/1.176, allocations: 0.7274 MB / 1.108 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008884/1.177, allocations: 233.2 kB / 1.108 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008465/1.185, allocations: 4.632 MB / 1.113 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.334e-05/1.185, allocations: 40 kB / 1.113 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.224e-05/1.185, allocations: 3.938 kB / 1.113 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006791/1.192, allocations: 3.958 MB / 1.117 GB, free: 420 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01487/1.207, allocations: 8.249 MB / 1.125 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/1.207, allocations: 7.984 kB / 1.125 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003107/1.21, allocations: 0.6554 MB / 1.126 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005635/1.211, allocations: 146.4 kB / 1.126 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004739/1.211, allocations: 83.97 kB / 1.126 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004463/1.216, allocations: 5.082 MB / 1.131 GB, free: 1.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.216, allocations: 0 / 1.131 GB, free: 1.672 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01258/1.229, allocations: 7.02 MB / 1.138 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002095/1.231, allocations: 0.7628 MB / 1.138 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009132/1.232, allocations: 64 kB / 1.138 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002461/1.234, allocations: 94.34 kB / 1.139 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006424/1.235, allocations: 226.9 kB / 1.139 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003698/1.235, allocations: 115.9 kB / 1.139 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001489/1.237, allocations: 0.8522 MB / 1.14 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.3e-07/1.237, allocations: 0 / 1.14 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003007/1.24, allocations: 1.069 MB / 1.141 GB, free: 7.398 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01192/1.252, allocations: 7.794 MB / 1.148 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0235/1.275, allocations: 11.49 MB / 1.16 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.275, allocations: 0 / 1.16 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.004615/1.28, allocations: 2.556 MB / 1.162 GB, free: 1.438 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006917/1.287, allocations: 1.076 MB / 1.163 GB, free: 388 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04664/1.333, allocations: 24.82 MB / 1.187 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00266/1.336, allocations: 1.935 MB / 1.189 GB, free: 4.332 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.006136/1.342, allocations: 1.212 MB / 1.19 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003572/1.346, allocations: 1.085 MB / 1.191 GB, free: 2.027 MB / 0.9044 GB Notification: Performance of SimCode: time 1.783e-06/1.346, allocations: 0 / 1.191 GB, free: 2.027 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1407/1.487, allocations: 66.12 MB / 1.256 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/13.02, allocations: 12.58 kB / 1.256 GB, free: 0.543 MB / 0.9669 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)