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.008456/0.008457, allocations: 97.41 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.001998/0.001998, allocations: 195.8 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002422/0.002422, allocations: 286.5 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.017/1.017, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00269/0.00269, allocations: 95.11 kB / 0.681 GB, free: 12 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1749, allocations: 86.98 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.5848/0.7598, allocations: 188.4 MB / 0.9499 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.7699, allocations: 6.096 MB / 0.9558 GB, free: 0.6094 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.7714, allocations: 35.81 kB / 0.9558 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.7728, allocations: 0.5126 MB / 0.9563 GB, free: 60 kB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.005219/0.7781, allocations: 1.898 MB / 0.9582 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.7808, allocations: 0.9489 MB / 0.9591 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004279/0.7851, allocations: 2.498 MB / 0.9616 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.7865, allocations: 0.7543 MB / 0.9623 GB, free: 9.934 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001854/0.7883, allocations: 0.8678 MB / 0.9632 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001817/0.7902, allocations: 0.776 MB / 0.9639 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.7904, allocations: 88 kB / 0.964 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004008/0.7944, allocations: 1.59 MB / 0.9655 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005144/0.7949, allocations: 366.9 kB / 0.9659 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000837/0.7958, allocations: 0.5561 MB / 0.9664 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003706/0.7995, allocations: 1.933 MB / 0.9683 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7995, allocations: 0 / 0.9683 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7995, allocations: 0 / 0.9683 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.875e-05/0.7995, allocations: 0 / 0.9683 GB, free: 3.754 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.002501/0.802, allocations: 1.412 MB / 0.9697 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.8021, allocations: 12.03 kB / 0.9697 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001669/0.8023, allocations: 114.5 kB / 0.9698 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/0.8043, allocations: 323.1 kB / 0.9701 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.8057, allocations: 0.7852 MB / 0.9709 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/0.8058, allocations: 49.31 kB / 0.9709 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.8059, allocations: 75.95 kB / 0.971 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.8073, allocations: 0.7901 MB / 0.9718 GB, free: 84 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.8074, allocations: 3.938 kB / 0.9718 GB, free: 80 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/0.8074, allocations: 28 kB / 0.9718 GB, free: 52 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.134e-05/0.8075, allocations: 25.31 kB / 0.9718 GB, free: 28 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.8087, allocations: 0.6414 MB / 0.9725 GB, free: 15.38 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.004216/0.8129, allocations: 3.364 MB / 0.9758 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009142/0.8138, allocations: 0.5071 MB / 0.9763 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005147/0.8144, allocations: 286 kB / 0.9765 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000686/0.8151, allocations: 0.6692 MB / 0.9772 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.8151, allocations: 47 kB / 0.9772 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=51): time 2.224e-06/0.8151, allocations: 0 / 0.9772 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=51): time 0.001728/0.8169, allocations: 0.7719 MB / 0.978 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.8169, allocations: 67.78 kB / 0.978 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007346/0.8177, allocations: 0.5941 MB / 0.9786 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.165e-05/0.8177, allocations: 33.7 kB / 0.9787 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/0.8181, allocations: 396.8 kB / 0.979 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.8183, allocations: 190.3 kB / 0.9792 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.8184, allocations: 90.25 kB / 0.9793 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002151/0.8187, allocations: 382.8 kB / 0.9797 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.8191, allocations: 216.9 kB / 0.9799 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004598/0.8196, allocations: 275.2 kB / 0.9801 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008875/0.8204, allocations: 0.5113 MB / 0.9806 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.8205, allocations: 3.188 kB / 0.9806 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001131/0.8216, allocations: 0.6313 MB / 0.9813 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.8216, allocations: 10.28 kB / 0.9813 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.8216, allocations: 4 kB / 0.9813 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.8217, allocations: 4 kB / 0.9813 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006084/0.8223, allocations: 123.9 kB / 0.9814 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.8223, allocations: 7.938 kB / 0.9814 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006193/0.8229, allocations: 51.78 kB / 0.9814 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.496e-05/0.823, allocations: 16 kB / 0.9815 GB, free: 5.629 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.000349/0.8233, allocations: 258.3 kB / 0.9817 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.8235, allocations: 83.48 kB / 0.9818 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.8246, allocations: 0.597 MB / 0.9824 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.8246, allocations: 8 kB / 0.9824 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.8246, allocations: 7.938 kB / 0.9824 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001061/0.8257, allocations: 0.8029 MB / 0.9832 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002391/0.8281, allocations: 1.554 MB / 0.9847 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.8281, allocations: 3.938 kB / 0.9847 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007614/0.8289, allocations: 151.8 kB / 0.9848 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.8289, allocations: 4 kB / 0.9848 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.049e-05/0.829, allocations: 12 kB / 0.9849 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.829, allocations: 4 kB / 0.9849 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.829, allocations: 4.031 kB / 0.9849 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.8305, allocations: 0.9476 MB / 0.9858 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003013/0.8308, allocations: 220.4 kB / 0.986 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.002e-05/0.8309, allocations: 12 kB / 0.986 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005421/0.8315, allocations: 27.97 kB / 0.986 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.971e-05/0.8316, allocations: 32.39 kB / 0.9861 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/0.8316, allocations: 18.31 kB / 0.9861 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005225/0.8322, allocations: 435 kB / 0.9865 GB, free: 272 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8322, allocations: 0 / 0.9865 GB, free: 272 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007381/0.8329, allocations: 279.5 kB / 0.9868 GB, free: 15.99 MB / 0.7481 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.002237/0.8352, allocations: 1.604 MB / 0.9883 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.8362, allocations: 0.5015 MB / 0.9888 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8362, allocations: 0 / 0.9888 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004771/0.8367, allocations: 274.8 kB / 0.9891 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/0.8388, allocations: 489.2 kB / 0.9895 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009042/0.8478, allocations: 6.005 MB / 0.9954 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007372/0.8486, allocations: 1.02 MB / 0.9964 GB, free: 5.938 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007131/0.8493, allocations: 178.1 kB / 0.9966 GB, free: 5.762 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004569/0.8498, allocations: 315 kB / 0.9969 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of SimCode: time 7.62e-07/0.8498, allocations: 7.938 kB / 0.9969 GB, free: 5.449 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05341/0.9032, allocations: 21.98 MB / 1.018 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.157/10.06, allocations: 13.08 kB / 1.018 GB, free: 15.88 MB / 0.7794 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)