Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.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.OneEffectiveAirLeakageArea,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",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.006829/0.006829, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.00144/0.00144, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.35/1.35, 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.002096/0.002096, allocations: 289.6 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.944/0.944, allocations: 169.2 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 95.84 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4029, allocations: 86.97 MB / 0.7659 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.1905/0.5934, allocations: 188.4 MB / 0.9499 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009138/0.6026, allocations: 6.095 MB / 0.9558 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.6039, allocations: 39.81 kB / 0.9559 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.6052, allocations: 0.5204 MB / 0.9564 GB, free: 92 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.3905/0.9958, allocations: 1.958 MB / 0.9583 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002511/0.9983, allocations: 0.9548 MB / 0.9592 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004092/1.002, allocations: 2.491 MB / 0.9616 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/1.004, allocations: 0.7622 MB / 0.9624 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001824/1.005, allocations: 0.8976 MB / 0.9633 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001837/1.007, allocations: 0.7731 MB / 0.964 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000157/1.007, allocations: 88.25 kB / 0.9641 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003248/1.011, allocations: 1.601 MB / 0.9657 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004303/1.011, allocations: 372.3 kB / 0.966 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007794/1.012, allocations: 0.5476 MB / 0.9666 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003388/1.015, allocations: 1.942 MB / 0.9685 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/1.015, allocations: 0.625 kB / 0.9685 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.823e-06/1.015, allocations: 2.172 kB / 0.9685 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.552e-05/1.015, allocations: 0 / 0.9685 GB, free: 1.973 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002308/1.018, allocations: 1.412 MB / 0.9698 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/1.018, allocations: 8 kB / 0.9698 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/1.018, allocations: 111.2 kB / 0.9699 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002013/1.02, allocations: 323.6 kB / 0.9703 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/1.021, allocations: 0.7893 MB / 0.971 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/1.021, allocations: 55.27 kB / 0.9711 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/1.021, allocations: 64.59 kB / 0.9711 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/1.022, allocations: 0.795 MB / 0.9719 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/1.022, allocations: 0 / 0.9719 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.316e-05/1.022, allocations: 28.34 kB / 0.9719 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/1.023, allocations: 31.39 kB / 0.972 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009717/1.024, allocations: 0.637 MB / 0.9726 GB, free: 16.68 MB / 0.7325 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.0036/1.027, allocations: 3.37 MB / 0.9759 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000755/1.028, allocations: 0.5006 MB / 0.9764 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004005/1.028, allocations: 288.6 kB / 0.9767 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005921/1.029, allocations: 0.6732 MB / 0.9773 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/1.029, allocations: 36.22 kB / 0.9773 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=51): time 2.254e-06/1.029, allocations: 0.875 kB / 0.9773 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=51): time 0.001506/1.03, allocations: 0.7877 MB / 0.9781 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/1.031, allocations: 57.84 kB / 0.9782 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005669/1.031, allocations: 0.5898 MB / 0.9787 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.817e-05/1.031, allocations: 41.86 kB / 0.9788 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/1.031, allocations: 391.9 kB / 0.9792 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/1.032, allocations: 189.3 kB / 0.9793 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/1.032, allocations: 98.91 kB / 0.9794 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.032, allocations: 380.2 kB / 0.9798 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/1.032, allocations: 207.6 kB / 0.98 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003752/1.033, allocations: 284.1 kB / 0.9803 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006874/1.033, allocations: 0.5021 MB / 0.9808 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.033, allocations: 2.109 kB / 0.9808 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009309/1.034, allocations: 0.6265 MB / 0.9814 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/1.034, allocations: 6.375 kB / 0.9814 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/1.034, allocations: 10.31 kB / 0.9814 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/1.034, allocations: 2.219 kB / 0.9814 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005639/1.035, allocations: 133.1 kB / 0.9815 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/1.035, allocations: 3.406 kB / 0.9815 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006724/1.036, allocations: 50.02 kB / 0.9816 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/1.036, allocations: 18 kB / 0.9816 GB, free: 12.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (62): * Single equations (assignments): 62 * 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.0003166/1.036, allocations: 261.3 kB / 0.9818 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/1.036, allocations: 76.88 kB / 0.9819 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009294/1.037, allocations: 0.6037 MB / 0.9825 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/1.037, allocations: 8.531 kB / 0.9825 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/1.037, allocations: 4.5 kB / 0.9825 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000843/1.038, allocations: 0.8078 MB / 0.9833 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/1.04, allocations: 1.548 MB / 0.9848 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.04, allocations: 0 / 0.9848 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007273/1.041, allocations: 160 kB / 0.985 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/1.041, allocations: 3.75 kB / 0.985 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/1.041, allocations: 16.19 kB / 0.985 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/1.041, allocations: 3.406 kB / 0.985 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.041, allocations: 0 / 0.985 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/1.042, allocations: 0.9549 MB / 0.9859 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/1.042, allocations: 219 kB / 0.9861 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.382e-05/1.042, allocations: 11.2 kB / 0.9861 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005759/1.043, allocations: 26.19 kB / 0.9862 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/1.043, allocations: 32.36 kB / 0.9862 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.454e-05/1.043, allocations: 19.56 kB / 0.9862 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004106/1.043, allocations: 428.9 kB / 0.9866 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/1.043, allocations: 0 / 0.9866 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007195/1.044, allocations: 279.1 kB / 0.9869 GB, free: 11.31 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,cra.mExc) * 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 (51): * Single equations (assignments): 51 * 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 Backend phase and start with SimCode phase: time 0.001881/1.046, allocations: 1.604 MB / 0.9885 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008689/1.047, allocations: 0.5074 MB / 0.9889 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.047, allocations: 2.469 kB / 0.9889 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003685/1.047, allocations: 271.7 kB / 0.9892 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/1.049, allocations: 489.2 kB / 0.9897 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007287/1.057, allocations: 6 MB / 0.9955 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/1.057, allocations: 1.02 MB / 0.9965 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006949/1.058, allocations: 190.2 kB / 0.9967 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/1.058, allocations: 307.3 kB / 0.997 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of SimCode: time 1.372e-06/1.058, allocations: 3.25 kB / 0.997 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03939/1.098, allocations: 21.99 MB / 1.018 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.578/9.676, allocations: 12.05 kB / 1.018 GB, free: 3.012 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)