Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001304, allocations: 101.7 kB / 16.27 MB, free: 6.418 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.001338/0.001338, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.918/1.918, allocations: 292.3 MB / 0.5495 GB, free: 17.41 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 59.91 kB / 0.6721 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2476, allocations: 114.6 MB / 0.784 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003206/0.2508, allocations: 1.493 MB / 0.7855 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003336/0.2512, allocations: 123.7 kB / 0.7856 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.506e-05/0.2512, allocations: 7.938 kB / 0.7856 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.446e-05/0.2513, allocations: 7.922 kB / 0.7856 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.66e-05/0.2514, allocations: 3.938 kB / 0.7856 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.2517, allocations: 71.81 kB / 0.7857 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.2518, allocations: 55.91 kB / 0.7857 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.2519, allocations: 16 kB / 0.7858 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.57e-05/0.252, allocations: 23.92 kB / 0.7858 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.63e-05/0.2521, allocations: 27.89 kB / 0.7858 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.2521, allocations: 8 kB / 0.7858 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.642e-05/0.2521, allocations: 11.94 kB / 0.7858 GB, free: 2 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.2522, allocations: 11.92 kB / 0.7858 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.344e-05/0.2522, allocations: 27.86 kB / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.2523, allocations: 48.14 kB / 0.7859 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2523, allocations: 0 / 0.7859 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.166e-06/0.2523, allocations: 0 / 0.7859 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.2524, allocations: 3.938 kB / 0.7859 GB, free: 1.91 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000567/0.2529, allocations: 379.3 kB / 0.7863 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.253, allocations: 12.03 kB / 0.7863 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.253, allocations: 4.844 kB / 0.7863 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.2532, allocations: 168.3 kB / 0.7864 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.413e-05/0.2532, allocations: 34.27 kB / 0.7865 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.2533, allocations: 4.375 kB / 0.7865 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.2535, allocations: 70.2 kB / 0.7865 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.2535, allocations: 3.938 kB / 0.7866 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.2535, allocations: 12 kB / 0.7866 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2535, allocations: 3.938 kB / 0.7866 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.2537, allocations: 51.88 kB / 0.7866 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006302/0.2544, allocations: 308.8 kB / 0.7869 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.2545, allocations: 46.56 kB / 0.787 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.704e-05/0.2546, allocations: 32.92 kB / 0.787 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.2546, allocations: 0 / 0.787 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.2547, allocations: 38.5 kB / 0.787 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 2.345e-06/0.2547, allocations: 3.984 kB / 0.787 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0003643/0.2551, allocations: 101.5 kB / 0.7871 GB, free: 496 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.2551, allocations: 55.41 kB / 0.7872 GB, free: 428 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.576e-05/0.2552, allocations: 105.8 kB / 0.7873 GB, free: 312 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.2552, allocations: 25.7 kB / 0.7873 GB, free: 280 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.2553, allocations: 96.06 kB / 0.7874 GB, free: 180 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.2553, allocations: 11.81 kB / 0.7874 GB, free: 168 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.2554, allocations: 17.72 kB / 0.7874 GB, free: 144 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.373/0.6284, allocations: 323.8 kB / 0.7877 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.6286, allocations: 17.09 kB / 0.7877 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.6287, allocations: 37.23 kB / 0.7878 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.6289, allocations: 62.45 kB / 0.7878 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.6289, allocations: 0 / 0.7878 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002519/0.6292, allocations: 89.56 kB / 0.7879 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.6292, allocations: 7.969 kB / 0.7879 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.6292, allocations: 0 / 0.7879 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.6293, allocations: 2.625 kB / 0.7879 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.6294, allocations: 10.97 kB / 0.788 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.6294, allocations: 4.438 kB / 0.788 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.129e-05/0.6295, allocations: 6.781 kB / 0.788 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.6295, allocations: 3.312 kB / 0.788 GB, free: 48.36 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 8.597e-05/0.6296, allocations: 116.6 kB / 0.7881 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.6296, allocations: 6.875 kB / 0.7881 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.6296, allocations: 10.89 kB / 0.7881 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.6297, allocations: 0 / 0.7881 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.6297, allocations: 10.59 kB / 0.7881 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.6297, allocations: 0 / 0.7881 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.6298, allocations: 177.9 kB / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6299, allocations: 2.062 kB / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.393e-05/0.6299, allocations: 14.58 kB / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.6299, allocations: 1.219 kB / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.6299, allocations: 4.969 kB / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.63, allocations: 0 / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.63, allocations: 3.938 kB / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.6302, allocations: 172.7 kB / 0.7885 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.6302, allocations: 82.98 kB / 0.7885 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.6302, allocations: 2.719 kB / 0.7885 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.6304, allocations: 9.219 kB / 0.7886 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.6304, allocations: 10.75 kB / 0.7886 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.6304, allocations: 6.844 kB / 0.7886 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.353e-05/0.6305, allocations: 90.5 kB / 0.7887 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6305, allocations: 0 / 0.7887 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002356/0.6307, allocations: 10.69 kB / 0.7887 GB, free: 47.75 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * 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 9.739e-05/0.6308, allocations: 94.31 kB / 0.7888 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002236/0.6311, allocations: 57.2 kB / 0.7888 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6311, allocations: 0 / 0.7888 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.289e-05/0.6312, allocations: 25.86 kB / 0.7888 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.6315, allocations: 6.859 kB / 0.7888 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003163/0.6318, allocations: 154.8 kB / 0.789 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.632, allocations: 0.6835 MB / 0.7897 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.632, allocations: 10.97 kB / 0.7897 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/0.632, allocations: 1.625 kB / 0.7897 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of Templates: time 0.001984/0.634, allocations: 0.8524 MB / 0.7905 GB, free: 46.82 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)