Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.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.OneOpenDoor,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor",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.007659/0.007659, allocations: 97.62 kB / 15.73 MB, free: 6.055 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.001913/0.001913, allocations: 198.5 kB / 16.68 MB, free: 5.961 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002527/0.002527, allocations: 297.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9815/0.9815, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002618/0.002619, allocations: 92.23 kB / 0.681 GB, free: 7.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4544/0.457, allocations: 86.98 MB / 0.7659 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.2014/0.6585, allocations: 166.9 MB / 0.9289 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01418/0.6727, allocations: 8.493 MB / 0.9372 GB, free: 3.816 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.6744, allocations: 35.81 kB / 0.9372 GB, free: 3.781 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001619/0.6761, allocations: 0.5667 MB / 0.9378 GB, free: 3.211 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0041/0.6802, allocations: 1.538 MB / 0.9393 GB, free: 1.668 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.6829, allocations: 1.004 MB / 0.9403 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.005274/0.6882, allocations: 4.089 MB / 0.9443 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001876/0.6901, allocations: 1.327 MB / 0.9455 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003262/0.6933, allocations: 1.497 MB / 0.947 GB, free: 9.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002291/0.6956, allocations: 1.499 MB / 0.9485 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003043/0.696, allocations: 192 kB / 0.9487 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002448/0.6984, allocations: 1.1 MB / 0.9497 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006955/0.6991, allocations: 0.67 MB / 0.9504 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.7004, allocations: 1.031 MB / 0.9514 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003709/0.7041, allocations: 2.777 MB / 0.9541 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7041, allocations: 0 / 0.9541 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7041, allocations: 4 kB / 0.9541 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.989e-05/0.7042, allocations: 3.938 kB / 0.9541 GB, free: 2.434 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.004608/0.7088, allocations: 2.307 MB / 0.9564 GB, free: 68 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.7088, allocations: 8.031 kB / 0.9564 GB, free: 60 kB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3592/1.068, allocations: 225 kB / 0.9566 GB, free: 190 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007495/1.069, allocations: 208.8 kB / 0.9568 GB, free: 190 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002291/1.071, allocations: 1.182 MB / 0.9579 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/1.071, allocations: 111.6 kB / 0.958 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002927/1.072, allocations: 151.1 kB / 0.9582 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003844/1.075, allocations: 1.928 MB / 0.9601 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.114e-05/1.075, allocations: 2.703 kB / 0.9601 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/1.076, allocations: 61.66 kB / 0.9601 GB, free: 188.5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/1.076, allocations: 36 kB / 0.9602 GB, free: 188.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003894/1.08, allocations: 2.481 MB / 0.9626 GB, free: 187.9 MB / 0.7169 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.007008/1.087, allocations: 6.127 MB / 0.9686 GB, free: 184 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002761/1.089, allocations: 2.803 MB / 0.9713 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001618/1.091, allocations: 1.42 MB / 0.9727 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/1.092, allocations: 1.735 MB / 0.9744 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/1.092, allocations: 56.56 kB / 0.9744 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=237): time 3.707e-06/1.092, allocations: 6.219 kB / 0.9745 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=237): time 0.0044/1.097, allocations: 3.437 MB / 0.9778 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/1.097, allocations: 84.64 kB / 0.9779 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007576/1.097, allocations: 0.7724 MB / 0.9786 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.704e-05/1.097, allocations: 69.7 kB / 0.9787 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/1.098, allocations: 492.4 kB / 0.9792 GB, free: 174.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003664/1.098, allocations: 0.8326 MB / 0.98 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003761/1.098, allocations: 343.7 kB / 0.9803 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.494e-05/1.098, allocations: 311.9 kB / 0.9806 GB, free: 172.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/1.1, allocations: 0.9019 MB / 0.9815 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/1.101, allocations: 1.115 MB / 0.9826 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00258/1.103, allocations: 2.229 MB / 0.9848 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/1.103, allocations: 4 kB / 0.9848 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003208/1.107, allocations: 2.438 MB / 0.9871 GB, free: 166 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/1.107, allocations: 11.23 kB / 0.9872 GB, free: 166 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/1.107, allocations: 4 kB / 0.9872 GB, free: 166 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/1.107, allocations: 12 kB / 0.9872 GB, free: 166 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/1.108, allocations: 439.9 kB / 0.9876 GB, free: 165.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/1.108, allocations: 12 kB / 0.9876 GB, free: 165.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/1.109, allocations: 171.7 kB / 0.9878 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/1.109, allocations: 71.98 kB / 0.9878 GB, free: 165.3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.0005436/1.11, allocations: 449 kB / 0.9883 GB, free: 164.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/1.11, allocations: 147.1 kB / 0.9884 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003664/1.114, allocations: 2.725 MB / 0.9911 GB, free: 162 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/1.114, allocations: 24 kB / 0.9911 GB, free: 162 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/1.114, allocations: 0 / 0.9911 GB, free: 162 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002648/1.117, allocations: 2.381 MB / 0.9934 GB, free: 159.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004819/1.121, allocations: 4.302 MB / 0.9976 GB, free: 155.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.121, allocations: 0 / 0.9976 GB, free: 155.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/1.123, allocations: 407.4 kB / 0.998 GB, free: 154.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000524/1.123, allocations: 101.5 kB / 0.9981 GB, free: 154.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/1.124, allocations: 47.98 kB / 0.9981 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004401/1.124, allocations: 1.124 MB / 0.9992 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.124, allocations: 4 kB / 0.9992 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004846/1.129, allocations: 4.061 MB / 1.003 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007553/1.13, allocations: 487.3 kB / 1.004 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/1.13, allocations: 43.92 kB / 1.004 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000807/1.131, allocations: 55.08 kB / 1.004 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/1.131, allocations: 137.8 kB / 1.004 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.131, allocations: 67.98 kB / 1.004 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005358/1.132, allocations: 0.5498 MB / 1.005 GB, free: 148.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.132, allocations: 0 / 1.005 GB, free: 148.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001195/1.133, allocations: 0.6552 MB / 1.005 GB, free: 147.4 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005618/1.138, allocations: 4.905 MB / 1.01 GB, free: 142.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003018/1.141, allocations: 2.328 MB / 1.012 GB, free: 140.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.141, allocations: 0 / 1.012 GB, free: 140.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001544/1.143, allocations: 1.288 MB / 1.013 GB, free: 138.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/1.145, allocations: 0.5732 MB / 1.014 GB, free: 138.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/1.16, allocations: 13.68 MB / 1.027 GB, free: 124.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000605/1.161, allocations: 1.349 MB / 1.029 GB, free: 123.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001738/1.163, allocations: 0.7228 MB / 1.029 GB, free: 122.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000848/1.164, allocations: 0.6242 MB / 1.03 GB, free: 121.7 MB / 0.7169 GB Notification: Performance of SimCode: time 9.31e-07/1.164, allocations: 0 / 1.03 GB, free: 121.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06096/1.225, allocations: 39.82 MB / 1.069 GB, free: 82.39 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/15.55, allocations: 2.578 kB / 1.069 GB, free: 82.39 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor_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_OneOpenDoor.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)