Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="BuildingSystems_BuildingSystems_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.005648/0.005648, allocations: 99.52 kB / 15.73 MB, free: 6.039 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.001335/0.001335, allocations: 198.1 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001974/0.001974, allocations: 282.5 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8997/0.8997, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 99.84 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1459, allocations: 86.97 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.5237/0.6697, allocations: 218.5 MB / 0.9793 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02406/0.6938, allocations: 20.44 MB / 0.9992 GB, free: 4 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/0.6961, allocations: 59.69 kB / 0.9993 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003073/0.6992, allocations: 1.294 MB / 1.001 GB, free: 2.641 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.009356/0.7086, allocations: 4.205 MB / 1.005 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003881/0.7125, allocations: 1.558 MB / 1.006 GB, free: 12.87 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.007417/0.72, allocations: 6.973 MB / 1.013 GB, free: 5.875 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003254/0.7232, allocations: 2.365 MB / 1.015 GB, free: 3.469 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004397/0.7277, allocations: 2.434 MB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004272/0.7319, allocations: 2.458 MB / 1.02 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0009193/0.7329, allocations: 344 kB / 1.02 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006713/0.7396, allocations: 3.477 MB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001782/0.7414, allocations: 1.454 MB / 1.025 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003351/0.7448, allocations: 1.867 MB / 1.027 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.009013/0.7538, allocations: 5.788 MB / 1.033 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.7538, allocations: 0 / 1.033 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7538, allocations: 0 / 1.033 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001445/0.754, allocations: 4 kB / 1.033 GB, free: 1.617 MB / 0.7794 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.01057/0.7645, allocations: 4.037 MB / 1.037 GB, free: 13.51 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.7646, allocations: 8.031 kB / 1.037 GB, free: 13.5 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007698/0.7654, allocations: 387.8 kB / 1.037 GB, free: 13.11 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004909/0.7703, allocations: 0.8447 MB / 1.038 GB, free: 12.27 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00397/0.7743, allocations: 1.95 MB / 1.04 GB, free: 10.26 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.7744, allocations: 197.4 kB / 1.04 GB, free: 10.07 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005319/0.775, allocations: 268 kB / 1.04 GB, free: 9.805 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005136/0.7801, allocations: 3.279 MB / 1.043 GB, free: 6.484 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.09e-05/0.7802, allocations: 11.95 kB / 1.043 GB, free: 6.473 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002543/0.7805, allocations: 116 kB / 1.044 GB, free: 6.359 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/0.7806, allocations: 129.3 kB / 1.044 GB, free: 6.23 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006641/0.7872, allocations: 4.619 MB / 1.048 GB, free: 1.598 MB / 0.795 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.01639/0.8036, allocations: 10.94 MB / 1.059 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005825/0.8095, allocations: 4.87 MB / 1.064 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003416/0.8129, allocations: 2.528 MB / 1.066 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009812/0.8139, allocations: 0.8644 MB / 1.067 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.776e-05/0.814, allocations: 81.64 kB / 1.067 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=399): time 4.698e-06/0.814, allocations: 0 / 1.067 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of matching and sorting (n=399): time 0.009298/0.8233, allocations: 6.032 MB / 1.073 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.8234, allocations: 90.55 kB / 1.073 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/0.8252, allocations: 1.232 MB / 1.074 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002681/0.8254, allocations: 89.7 kB / 1.074 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005277/0.826, allocations: 0.8384 MB / 1.075 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001116/0.8271, allocations: 1.394 MB / 1.076 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008684/0.828, allocations: 0.547 MB / 1.077 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 7.454e-05/0.8281, allocations: 301.1 kB / 1.077 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002348/0.8304, allocations: 1.603 MB / 1.079 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002604/0.833, allocations: 1.909 MB / 1.081 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005359/0.8384, allocations: 3.842 MB / 1.084 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/0.8384, allocations: 4 kB / 1.084 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00648/0.8449, allocations: 4.2 MB / 1.089 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.845, allocations: 11.98 kB / 1.089 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/0.845, allocations: 4 kB / 1.089 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-05/0.8451, allocations: 16 kB / 1.089 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002795/0.8479, allocations: 0.6826 MB / 1.089 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.454e-05/0.8479, allocations: 16 kB / 1.089 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002505/0.8505, allocations: 242.1 kB / 1.089 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002836/0.8508, allocations: 124 kB / 1.09 GB, free: 5.984 MB / 0.8419 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.001311/0.8521, allocations: 0.728 MB / 1.09 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006814/0.8528, allocations: 254.4 kB / 1.091 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007303/0.8601, allocations: 4.638 MB / 1.095 GB, free: 324 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.89e-05/0.8601, allocations: 36 kB / 1.095 GB, free: 288 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.187e-05/0.8602, allocations: 7.938 kB / 1.095 GB, free: 280 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3265/1.187, allocations: 3.948 MB / 1.099 GB, free: 288.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/1.198, allocations: 8.275 MB / 1.107 GB, free: 285.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/1.198, allocations: 1.375 kB / 1.107 GB, free: 285.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002715/1.201, allocations: 0.6613 MB / 1.108 GB, free: 285.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004251/1.201, allocations: 141.1 kB / 1.108 GB, free: 285.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001878/1.202, allocations: 82.55 kB / 1.108 GB, free: 285.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002688/1.204, allocations: 5.04 MB / 1.113 GB, free: 280.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.204, allocations: 0.75 kB / 1.113 GB, free: 280.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01025/1.215, allocations: 6.835 MB / 1.12 GB, free: 278 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001773/1.216, allocations: 0.7756 MB / 1.12 GB, free: 277.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000379/1.217, allocations: 69.45 kB / 1.12 GB, free: 277.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001771/1.219, allocations: 87.97 kB / 1.12 GB, free: 277.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004253/1.219, allocations: 224.4 kB / 1.121 GB, free: 277.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002127/1.219, allocations: 108.8 kB / 1.121 GB, free: 277.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001197/1.22, allocations: 0.8645 MB / 1.122 GB, free: 277.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.01e-07/1.22, allocations: 0 / 1.122 GB, free: 277.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002242/1.223, allocations: 1.075 MB / 1.123 GB, free: 277 MB / 0.8419 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.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,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.009486/1.232, allocations: 7.631 MB / 1.13 GB, free: 273.6 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005788/1.238, allocations: 4.056 MB / 1.134 GB, free: 272.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/1.238, allocations: 6.531 kB / 1.134 GB, free: 272.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.003491/1.242, allocations: 2.542 MB / 1.137 GB, free: 271.2 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004754/1.246, allocations: 1.076 MB / 1.138 GB, free: 270.9 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02647/1.273, allocations: 23.1 MB / 1.16 GB, free: 259.3 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/1.274, allocations: 1.939 MB / 1.162 GB, free: 257.3 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00286/1.277, allocations: 1.216 MB / 1.163 GB, free: 256.1 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/1.278, allocations: 1.089 MB / 1.164 GB, free: 255 MB / 0.8419 GB Notification: Performance of SimCode: time 5.81e-07/1.278, allocations: 0 / 1.164 GB, free: 255 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1887/1.467, allocations: 66.74 MB / 1.229 GB, free: 189 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/15.73, allocations: 8.953 kB / 1.229 GB, free: 189 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)