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: translateModel(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, 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.00159/0.00159, allocations: 193.9 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.433/1.433, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00228/0.00228, allocations: 282.9 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9642/0.9642, allocations: 169.2 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001685, allocations: 98.83 kB / 0.5952 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2314, allocations: 86.99 MB / 0.6802 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.7042/0.9357, allocations: 188.4 MB / 0.8641 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01128/0.947, allocations: 6.064 MB / 0.8701 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002336/0.9493, allocations: 40.91 kB / 0.8701 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001754/0.9512, allocations: 0.5153 MB / 0.8706 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006333/0.9575, allocations: 1.902 MB / 0.8725 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003108/0.9606, allocations: 0.9364 MB / 0.8734 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004195/0.9649, allocations: 2.495 MB / 0.8758 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.9661, allocations: 0.7569 MB / 0.8766 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001978/0.9681, allocations: 0.8593 MB / 0.8774 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.97, allocations: 0.7747 MB / 0.8782 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.9702, allocations: 97.94 kB / 0.8782 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003949/0.9742, allocations: 1.585 MB / 0.8798 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005653/0.9747, allocations: 363.7 kB / 0.8801 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.9761, allocations: 0.5482 MB / 0.8807 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004966/0.981, allocations: 1.909 MB / 0.8825 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.9811, allocations: 0 / 0.8825 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.465e-06/0.9811, allocations: 0 / 0.8825 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.365e-05/0.9812, allocations: 0 / 0.8825 GB, free: 4.68 MB / 0.5919 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.003643/0.9848, allocations: 1.386 MB / 0.8839 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.9849, allocations: 7.688 kB / 0.8839 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/0.9871, allocations: 315.6 kB / 0.8842 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.9885, allocations: 0.7509 MB / 0.8849 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.891e-05/0.9886, allocations: 54.95 kB / 0.885 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.9887, allocations: 65.09 kB / 0.885 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.9901, allocations: 0.7843 MB / 0.8858 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.9902, allocations: 3.938 kB / 0.8858 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.021e-05/0.9902, allocations: 31.38 kB / 0.8858 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-05/0.9903, allocations: 26.62 kB / 0.8859 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.9914, allocations: 0.6391 MB / 0.8865 GB, free: 2.008 MB / 0.5919 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.004286/0.9957, allocations: 3.383 MB / 0.8898 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008659/0.9966, allocations: 0.4971 MB / 0.8903 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004578/0.9971, allocations: 291.7 kB / 0.8906 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006631/0.9977, allocations: 0.6729 MB / 0.8912 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.9978, allocations: 44.5 kB / 0.8913 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=51): time 2.615e-06/0.9978, allocations: 3.938 kB / 0.8913 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=51): time 0.001728/0.9995, allocations: 0.7633 MB / 0.892 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.9996, allocations: 57.59 kB / 0.8921 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007091/1, allocations: 0.6065 MB / 0.8927 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.094e-05/1, allocations: 36.61 kB / 0.8927 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/1.001, allocations: 385.6 kB / 0.8931 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/1.001, allocations: 183.5 kB / 0.8932 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/1.001, allocations: 106.6 kB / 0.8933 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.001, allocations: 373.9 kB / 0.8937 GB, free: 12 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/1.002, allocations: 210.4 kB / 0.8939 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004353/1.002, allocations: 285.8 kB / 0.8942 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000816/1.003, allocations: 0.4997 MB / 0.8947 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.003, allocations: 7.25 kB / 0.8947 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001053/1.004, allocations: 0.627 MB / 0.8953 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.004, allocations: 4 kB / 0.8953 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.004, allocations: 4 kB / 0.8953 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/1.004, allocations: 0 / 0.8953 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005772/1.005, allocations: 127.9 kB / 0.8954 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/1.005, allocations: 7.984 kB / 0.8954 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007097/1.005, allocations: 43.53 kB / 0.8955 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.891e-05/1.005, allocations: 24.05 kB / 0.8955 GB, free: 10.29 MB / 0.6075 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.000365/1.006, allocations: 258.3 kB / 0.8957 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/1.006, allocations: 75.16 kB / 0.8958 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/1.007, allocations: 0.594 MB / 0.8964 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/1.007, allocations: 4 kB / 0.8964 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.007, allocations: 4 kB / 0.8964 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009363/1.008, allocations: 0.8145 MB / 0.8972 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/1.01, allocations: 1.546 MB / 0.8987 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/1.01, allocations: 4.094 kB / 0.8987 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007533/1.011, allocations: 155.8 kB / 0.8988 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/1.011, allocations: 7.938 kB / 0.8989 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/1.011, allocations: 8 kB / 0.8989 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/1.011, allocations: 7.938 kB / 0.8989 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.011, allocations: 7.922 kB / 0.8989 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/1.012, allocations: 0.9433 MB / 0.8998 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/1.013, allocations: 216 kB / 0.9 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.184e-05/1.013, allocations: 19.98 kB / 0.9 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005495/1.013, allocations: 21.31 kB / 0.9 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.454e-05/1.014, allocations: 32.39 kB / 0.9001 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/1.014, allocations: 27.92 kB / 0.9001 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004847/1.014, allocations: 427 kB / 0.9005 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/1.014, allocations: 0 / 0.9005 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008191/1.015, allocations: 267.4 kB / 0.9008 GB, free: 4.672 MB / 0.6075 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.000504/1.015, allocations: 221.9 kB / 0.901 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001117/1.017, allocations: 0.5795 MB / 0.9015 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.017, allocations: 0 / 0.9015 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004397/1.017, allocations: 274.8 kB / 0.9018 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/1.019, allocations: 498.5 kB / 0.9023 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/1.022, allocations: 1.839 MB / 0.9041 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/1.023, allocations: 1.024 MB / 0.9051 GB, free: 220 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000745/1.023, allocations: 182.1 kB / 0.9052 GB, free: 36 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/1.024, allocations: 63.42 kB / 0.9053 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of SimCode: time 8.71e-07/1.024, allocations: 0 / 0.9053 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of Templates: time 0.02831/1.052, allocations: 15.76 MB / 0.9207 GB, free: 484 kB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)