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.001419/0.001419, allocations: 108.4 kB / 16.41 MB, free: 6.457 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.001392/0.001392, allocations: 187 kB / 17.34 MB, free: 5.719 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.535/1.535, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002481/0.002481, allocations: 296.4 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9873/0.9873, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 91.86 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6437/0.6456, allocations: 86.98 MB / 0.767 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.2249/0.8706, allocations: 188.4 MB / 0.951 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01107/0.8817, allocations: 6.096 MB / 0.957 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00184/0.8836, allocations: 35.81 kB / 0.957 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.8853, allocations: 0.5048 MB / 0.9575 GB, free: 152 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.6936/1.579, allocations: 1.89 MB / 0.9593 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003192/1.582, allocations: 0.9522 MB / 0.9603 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005405/1.588, allocations: 2.482 MB / 0.9627 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001501/1.589, allocations: 0.7638 MB / 0.9634 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002427/1.591, allocations: 0.8641 MB / 0.9643 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002388/1.594, allocations: 0.7791 MB / 0.965 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001714/1.594, allocations: 88.41 kB / 0.9651 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004385/1.598, allocations: 1.589 MB / 0.9667 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005915/1.599, allocations: 371.6 kB / 0.967 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00113/1.6, allocations: 0.5478 MB / 0.9676 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004377/1.605, allocations: 1.928 MB / 0.9694 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.605, allocations: 0 / 0.9694 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.535e-06/1.605, allocations: 0.875 kB / 0.9694 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.674e-05/1.605, allocations: 0 / 0.9694 GB, free: 2.008 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.002809/1.607, allocations: 1.376 MB / 0.9708 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/1.607, allocations: 7.094 kB / 0.9708 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002023/1.61, allocations: 316.4 kB / 0.9711 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/1.611, allocations: 0.7859 MB / 0.9719 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.3e-05/1.611, allocations: 50.12 kB / 0.9719 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/1.611, allocations: 67.44 kB / 0.972 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/1.613, allocations: 0.7875 MB / 0.9727 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/1.613, allocations: 4.172 kB / 0.9728 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.796e-05/1.613, allocations: 29.38 kB / 0.9728 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.726e-05/1.613, allocations: 30.78 kB / 0.9728 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/1.614, allocations: 0.6393 MB / 0.9734 GB, free: 16.8 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.005255/1.619, allocations: 3.366 MB / 0.9767 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000962/1.62, allocations: 0.4907 MB / 0.9772 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004954/1.621, allocations: 292 kB / 0.9775 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/1.622, allocations: 0.6776 MB / 0.9781 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/1.622, allocations: 40.97 kB / 0.9782 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=51): time 4.168e-06/1.622, allocations: 0 / 0.9782 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=51): time 0.002006/1.624, allocations: 0.7742 MB / 0.9789 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/1.624, allocations: 66.08 kB / 0.979 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007939/1.625, allocations: 0.5928 MB / 0.9796 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.933e-05/1.625, allocations: 38.86 kB / 0.9796 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/1.625, allocations: 386.6 kB / 0.98 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000202/1.625, allocations: 181.7 kB / 0.9802 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/1.626, allocations: 97.61 kB / 0.9802 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002474/1.626, allocations: 378 kB / 0.9806 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/1.626, allocations: 215.9 kB / 0.9808 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/1.627, allocations: 277.1 kB / 0.9811 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008047/1.627, allocations: 0.5093 MB / 0.9816 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/1.627, allocations: 1.062 kB / 0.9816 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001039/1.628, allocations: 0.6201 MB / 0.9822 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/1.629, allocations: 5.25 kB / 0.9822 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/1.629, allocations: 4.406 kB / 0.9822 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/1.629, allocations: 6.219 kB / 0.9822 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005673/1.629, allocations: 130.3 kB / 0.9823 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/1.629, allocations: 7.969 kB / 0.9823 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000689/1.63, allocations: 47.8 kB / 0.9824 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.512e-05/1.63, allocations: 17.33 kB / 0.9824 GB, free: 12.95 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.0004825/1.63, allocations: 255.1 kB / 0.9826 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/1.631, allocations: 75.31 kB / 0.9827 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/1.632, allocations: 0.6007 MB / 0.9833 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/1.632, allocations: 11.47 kB / 0.9833 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/1.632, allocations: 0 / 0.9833 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001005/1.633, allocations: 0.8117 MB / 0.9841 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/1.635, allocations: 1.551 MB / 0.9856 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.635, allocations: 1.062 kB / 0.9856 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007155/1.636, allocations: 157.8 kB / 0.9858 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/1.636, allocations: 4.75 kB / 0.9858 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.005e-05/1.636, allocations: 17.83 kB / 0.9858 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/1.636, allocations: 0 / 0.9858 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.636, allocations: 3.375 kB / 0.9858 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/1.637, allocations: 0.9502 MB / 0.9867 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003234/1.638, allocations: 214.6 kB / 0.9869 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.31e-05/1.638, allocations: 13.28 kB / 0.9869 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005344/1.638, allocations: 26.38 kB / 0.987 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.631e-05/1.638, allocations: 36.2 kB / 0.987 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-05/1.638, allocations: 20.94 kB / 0.987 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004934/1.639, allocations: 424.4 kB / 0.9874 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.639, allocations: 1.094 kB / 0.9874 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008343/1.64, allocations: 274.9 kB / 0.9877 GB, free: 11.47 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.0005262/1.64, allocations: 204.8 kB / 0.9879 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009/1.641, allocations: 0.5151 MB / 0.9884 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.641, allocations: 0 / 0.9884 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004169/1.642, allocations: 270.4 kB / 0.9886 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/1.644, allocations: 494.1 kB / 0.9891 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/1.647, allocations: 1.877 MB / 0.9909 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007434/1.648, allocations: 1.022 MB / 0.9919 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/1.648, allocations: 60.25 kB / 0.992 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of SimCode: time 1.152e-06/1.648, allocations: 0 / 0.992 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of Templates: time 0.02288/1.671, allocations: 12.94 MB / 1.005 GB, free: 8.727 MB / 0.7325 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)