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.00458/0.004581, allocations: 98.8 kB / 15.73 MB, free: 6.035 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.001087/0.001087, allocations: 193.3 kB / 16.67 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002055/0.002055, allocations: 282.4 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.8978/0.8978, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 99.78 kB / 0.681 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1411, allocations: 86.97 MB / 0.7659 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.4556/0.5967, allocations: 166.9 MB / 0.9289 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01133/0.6081, allocations: 8.486 MB / 0.9372 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.6095, allocations: 39.81 kB / 0.9372 GB, free: 3.738 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.6112, allocations: 0.5667 MB / 0.9378 GB, free: 3.168 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004007/0.6152, allocations: 1.566 MB / 0.9393 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.6178, allocations: 0.9976 MB / 0.9403 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004451/0.6222, allocations: 4.119 MB / 0.9443 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001991/0.6242, allocations: 1.315 MB / 0.9456 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003324/0.6276, allocations: 1.526 MB / 0.9471 GB, free: 9.617 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002442/0.63, allocations: 1.503 MB / 0.9485 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004601/0.6305, allocations: 184 kB / 0.9487 GB, free: 7.93 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002574/0.6331, allocations: 1.111 MB / 0.9498 GB, free: 6.816 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000817/0.6339, allocations: 0.674 MB / 0.9505 GB, free: 6.141 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001828/0.6357, allocations: 1.031 MB / 0.9515 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003883/0.6396, allocations: 2.774 MB / 0.9542 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.6396, allocations: 0 / 0.9542 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6397, allocations: 0 / 0.9542 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.504e-05/0.6397, allocations: 0 / 0.9542 GB, free: 2.328 MB / 0.7012 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.004645/0.6444, allocations: 2.318 MB / 0.9564 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.6444, allocations: 8.031 kB / 0.9564 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002402/0.6447, allocations: 223.9 kB / 0.9567 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004576/0.6451, allocations: 211.7 kB / 0.9569 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001905/0.647, allocations: 1.182 MB / 0.958 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.041e-05/0.6471, allocations: 119 kB / 0.9581 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002121/0.6473, allocations: 144 kB / 0.9583 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002807/0.6502, allocations: 1.923 MB / 0.9601 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/0.6502, allocations: 4 kB / 0.9602 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.6504, allocations: 64 kB / 0.9602 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.6504, allocations: 36 kB / 0.9602 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003552/0.6539, allocations: 2.474 MB / 0.9627 GB, free: 9.473 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.007825/0.6618, allocations: 6.137 MB / 0.9687 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/0.6652, allocations: 2.799 MB / 0.9714 GB, free: 156 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001943/0.6671, allocations: 1.421 MB / 0.9728 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001557/0.6687, allocations: 1.738 MB / 0.9745 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.224e-05/0.6688, allocations: 60.56 kB / 0.9745 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=237): time 3.958e-06/0.6688, allocations: 3.938 kB / 0.9745 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=237): time 0.005282/0.6741, allocations: 3.438 MB / 0.9779 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.6741, allocations: 77.41 kB / 0.978 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009444/0.6751, allocations: 0.7744 MB / 0.9787 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.6752, allocations: 65.7 kB / 0.9788 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/0.6755, allocations: 0.4913 MB / 0.9793 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006096/0.6761, allocations: 0.8327 MB / 0.9801 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004684/0.6766, allocations: 339.7 kB / 0.9804 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.816e-05/0.6767, allocations: 317.1 kB / 0.9807 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.6781, allocations: 0.898 MB / 0.9816 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.6797, allocations: 1.121 MB / 0.9827 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003177/0.6828, allocations: 2.227 MB / 0.9849 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.6829, allocations: 4 kB / 0.9849 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003886/0.6868, allocations: 2.437 MB / 0.9872 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.6868, allocations: 11.94 kB / 0.9872 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.6868, allocations: 4 kB / 0.9872 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.105e-05/0.6868, allocations: 12 kB / 0.9873 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.6885, allocations: 443.8 kB / 0.9877 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.131e-05/0.6886, allocations: 12 kB / 0.9877 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009974/0.6896, allocations: 158.8 kB / 0.9878 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.6897, allocations: 75.92 kB / 0.9879 GB, free: 14.63 MB / 0.7481 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.0007229/0.6904, allocations: 441.2 kB / 0.9883 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002735/0.6907, allocations: 155 kB / 0.9885 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004399/0.6951, allocations: 2.722 MB / 0.9911 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.974e-05/0.6952, allocations: 24 kB / 0.9912 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.6952, allocations: 2.75 kB / 0.9912 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003373/0.6986, allocations: 2.381 MB / 0.9935 GB, free: 8.84 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006156/0.7047, allocations: 4.31 MB / 0.9977 GB, free: 4.457 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.7048, allocations: 0 / 0.9977 GB, free: 4.457 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/0.7064, allocations: 407.4 kB / 0.9981 GB, free: 4.059 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000559/0.707, allocations: 97.69 kB / 0.9982 GB, free: 3.957 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/0.7071, allocations: 51.98 kB / 0.9982 GB, free: 3.906 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007352/0.7079, allocations: 1.124 MB / 0.9993 GB, free: 2.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.7079, allocations: 7.984 kB / 0.9993 GB, free: 2.723 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005844/0.7137, allocations: 4.062 MB / 1.003 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008949/0.7146, allocations: 483.4 kB / 1.004 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002501/0.7149, allocations: 40 kB / 1.004 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009398/0.7159, allocations: 59.91 kB / 1.004 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/0.7161, allocations: 133.8 kB / 1.004 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/0.7162, allocations: 71.97 kB / 1.004 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007497/0.717, allocations: 0.5536 MB / 1.005 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.5e-07/0.717, allocations: 0 / 1.005 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00147/0.7185, allocations: 0.6513 MB / 1.005 GB, free: 12.64 MB / 0.7637 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.006667/0.7252, allocations: 4.909 MB / 1.01 GB, free: 7.699 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003543/0.7287, allocations: 2.324 MB / 1.012 GB, free: 5.371 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.7287, allocations: 0.9375 kB / 1.012 GB, free: 5.371 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001861/0.7306, allocations: 1.276 MB / 1.014 GB, free: 4.098 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002453/0.7331, allocations: 0.5729 MB / 1.014 GB, free: 3.539 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01898/0.7521, allocations: 13.68 MB / 1.027 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009648/0.7531, allocations: 1.339 MB / 1.029 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00192/0.755, allocations: 0.7228 MB / 1.029 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/0.756, allocations: 0.6242 MB / 1.03 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of SimCode: time 1.032e-06/0.756, allocations: 4 kB / 1.03 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07002/0.8261, allocations: 39.82 MB / 1.069 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.95, allocations: 16 kB / 1.069 GB, free: 11.52 MB / 0.8262 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)