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.001071/0.00107, allocations: 108 kB / 15.61 MB, free: 152 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.001027/0.001027, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 278.7 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9297/0.9297, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001716, allocations: 102 kB / 0.5953 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1431, allocations: 86.97 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.4776/0.6207, allocations: 218.5 MB / 0.8937 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02552/0.6463, allocations: 20.42 MB / 0.9136 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002514/0.6488, allocations: 55.75 kB / 0.9136 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003139/0.652, allocations: 1.251 MB / 0.9149 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.6621, allocations: 4.086 MB / 0.9189 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003671/0.6658, allocations: 1.534 MB / 0.9204 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007578/0.6734, allocations: 6.963 MB / 0.9272 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003229/0.6766, allocations: 2.368 MB / 0.9295 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003792/0.6804, allocations: 2.352 MB / 0.9318 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004132/0.6846, allocations: 2.451 MB / 0.9342 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007891/0.6854, allocations: 348 kB / 0.9345 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006691/0.6921, allocations: 3.469 MB / 0.9379 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001572/0.6937, allocations: 1.45 MB / 0.9393 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002682/0.6964, allocations: 1.867 MB / 0.9411 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00806/0.7044, allocations: 5.718 MB / 0.9467 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7044, allocations: 4 kB / 0.9467 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7045, allocations: 0 / 0.9467 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001259/0.7046, allocations: 0 / 0.9467 GB, free: 6.316 MB / 0.6544 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.01015/0.7147, allocations: 3.946 MB / 0.9506 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.7148, allocations: 12.03 kB / 0.9506 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005035/0.7153, allocations: 388.8 kB / 0.9509 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004842/0.7202, allocations: 0.8313 MB / 0.9518 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003248/0.7234, allocations: 1.871 MB / 0.9536 GB, free: 15.14 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.7236, allocations: 205.4 kB / 0.9538 GB, free: 14.94 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003817/0.724, allocations: 275.9 kB / 0.954 GB, free: 14.67 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004997/0.729, allocations: 3.279 MB / 0.9572 GB, free: 11.35 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.125e-05/0.729, allocations: 3.75 kB / 0.9572 GB, free: 11.35 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002635/0.7293, allocations: 119.9 kB / 0.9574 GB, free: 11.23 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.7294, allocations: 121.5 kB / 0.9575 GB, free: 11.11 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006652/0.7361, allocations: 4.627 MB / 0.962 GB, free: 6.469 MB / 0.67 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.01453/0.7506, allocations: 10.98 MB / 0.9727 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005804/0.7565, allocations: 4.868 MB / 0.9775 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003291/0.7598, allocations: 2.52 MB / 0.9799 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009781/0.7608, allocations: 0.8643 MB / 0.9808 GB, free: 2.352 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.704e-05/0.7608, allocations: 81.7 kB / 0.9809 GB, free: 2.262 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=399): time 6.593e-06/0.7608, allocations: 0 / 0.9809 GB, free: 2.262 MB / 0.6856 GB Notification: Performance of matching and sorting (n=399): time 0.009253/0.7701, allocations: 6.03 MB / 0.9867 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.7702, allocations: 90.55 kB / 0.9868 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/0.7718, allocations: 1.228 MB / 0.988 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002036/0.772, allocations: 93.7 kB / 0.9881 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005212/0.7726, allocations: 0.8057 MB / 0.9889 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009954/0.7736, allocations: 1.336 MB / 0.9902 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000787/0.7744, allocations: 0.5507 MB / 0.9908 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 7.827e-05/0.7744, allocations: 301.1 kB / 0.991 GB, free: 7.684 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002367/0.7768, allocations: 1.603 MB / 0.9926 GB, free: 6.078 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002602/0.7794, allocations: 1.909 MB / 0.9945 GB, free: 4.125 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005326/0.7848, allocations: 3.831 MB / 0.9982 GB, free: 240 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.7848, allocations: 4 kB / 0.9982 GB, free: 236 kB / 0.7012 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006279/0.7911, allocations: 4.183 MB / 1.002 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.7911, allocations: 15.92 kB / 1.002 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.7911, allocations: 4 kB / 1.002 GB, free: 12 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/0.7912, allocations: 16.41 kB / 1.002 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002765/0.7939, allocations: 0.6827 MB / 1.003 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.931e-05/0.794, allocations: 19.94 kB / 1.003 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/0.7964, allocations: 245.3 kB / 1.003 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002354/0.7966, allocations: 112 kB / 1.003 GB, free: 10.93 MB / 0.7169 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.001214/0.7978, allocations: 0.7241 MB / 1.004 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005271/0.7984, allocations: 245.1 kB / 1.004 GB, free: 9.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00717/0.8055, allocations: 4.636 MB / 1.009 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.078e-05/0.8056, allocations: 40 kB / 1.009 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/0.8056, allocations: 7.938 kB / 1.009 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005917/0.8115, allocations: 3.954 MB / 1.013 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/0.8237, allocations: 8.284 MB / 1.021 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.8238, allocations: 0 / 1.021 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00291/0.8267, allocations: 0.6593 MB / 1.021 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004626/0.8271, allocations: 158.3 kB / 1.022 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002236/0.8274, allocations: 79.98 kB / 1.022 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003553/0.8309, allocations: 5.032 MB / 1.027 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.831, allocations: 0 / 1.027 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009552/0.8405, allocations: 6.818 MB / 1.033 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/0.8419, allocations: 0.7628 MB / 1.034 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004474/0.8424, allocations: 64 kB / 1.034 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001986/0.8444, allocations: 86.41 kB / 1.034 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000402/0.8448, allocations: 230.8 kB / 1.034 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002302/0.845, allocations: 120 kB / 1.034 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00113/0.8461, allocations: 0.8567 MB / 1.035 GB, free: 9.484 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8461, allocations: 0 / 1.035 GB, free: 9.484 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002333/0.8485, allocations: 1.069 MB / 1.036 GB, free: 8.414 MB / 0.7481 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.01025/0.8587, allocations: 7.615 MB / 1.044 GB, free: 0.7266 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02206/0.8808, allocations: 11.49 MB / 1.055 GB, free: 5.227 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/0.8809, allocations: 0 / 1.055 GB, free: 5.227 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003651/0.8845, allocations: 2.551 MB / 1.058 GB, free: 2.637 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00501/0.8896, allocations: 1.075 MB / 1.059 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2745/1.164, allocations: 24.94 MB / 1.083 GB, free: 282.1 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001799/1.166, allocations: 1.94 MB / 1.085 GB, free: 281.2 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003648/1.17, allocations: 1.222 MB / 1.086 GB, free: 281 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/1.171, allocations: 1.095 MB / 1.087 GB, free: 280.2 MB / 0.7637 GB Notification: Performance of SimCode: time 8.52e-07/1.171, allocations: 0 / 1.087 GB, free: 280.2 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1355/1.307, allocations: 66.17 MB / 1.152 GB, free: 226.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.98, allocations: 16.19 kB / 1.152 GB, free: 226.4 MB / 0.7637 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)